I have had this idea of making a modification to make it easier to add entries to Links. I was originally going to try and do it myself, but I never got around to doing it and I don't know perl very well. I was going to try to learn Perl while working on it. Since I don't have much time on my hands I wanted to see if anyone would be able to make this mod.
The concept is that when the owner is browsing the web and comes across a site that he or she wants to add then the owner can click on a bookmark (or on a button on the netscape toolbar) that will take you to the admin script and run the mod (in the URL below is would be the add_link subroutine). The mod would then try to fill in the form for you from the URL that you came from. It would take the meta tags for the description (or take the first 20 words on the page if no meta tags are there), the title tag for the site title, locate 'mailto:' links for possible contact e-mail addresses (and list all that are on that page for you to choose from). Then all the owner has to do is select the category, look over the submission for changes he wants to make, and then submit it. A lot easier than trying to write a description and fill in all the other stuff yourself.
The bookmark would link to the following URL:
javascript:location.href='http://url.of.admin.dir/admin.cgi?db=links&add_link=1&url='+escape(window.location);
That URL includes javascript that will grab the URL of the page you are coming from.
Can somebody here make that mod? I think it would make adding links to a database a lot easier for the maintainer.
------------------
- Gilby -
mail@gilby.com
www.gilby.com
[This message has been edited by Gilby (edited January 08, 1999).]
The concept is that when the owner is browsing the web and comes across a site that he or she wants to add then the owner can click on a bookmark (or on a button on the netscape toolbar) that will take you to the admin script and run the mod (in the URL below is would be the add_link subroutine). The mod would then try to fill in the form for you from the URL that you came from. It would take the meta tags for the description (or take the first 20 words on the page if no meta tags are there), the title tag for the site title, locate 'mailto:' links for possible contact e-mail addresses (and list all that are on that page for you to choose from). Then all the owner has to do is select the category, look over the submission for changes he wants to make, and then submit it. A lot easier than trying to write a description and fill in all the other stuff yourself.
The bookmark would link to the following URL:
javascript:location.href='http://url.of.admin.dir/admin.cgi?db=links&add_link=1&url='+escape(window.location);
That URL includes javascript that will grab the URL of the page you are coming from.
Can somebody here make that mod? I think it would make adding links to a database a lot easier for the maintainer.
------------------
- Gilby -
mail@gilby.com
www.gilby.com
[This message has been edited by Gilby (edited January 08, 1999).]

