Free Republic
Browse · Search
General/Chat
Topics · Post Article

To: Ken H
It's very challenging to post 1000 links. I have posted a page with 840 external links (plus a bunch of anchor links at the top) here -

! HAL9000 - Links to News Sources (v 2.10)

I believe it is the most dense and complex set of links posted on this site. It was difficult to get the page to post the way I wanted it because FR's posting software modifies the HTML, adding blank lines where they were unwanted, and generally messing up the desired format.

Eventually, I wrote a PHP script to generate that page, and added extra features like opening the links in a new window. The main trick to get the formatting right was to eliminate all end-of-line characters (carriage returns, newlines, etc.) That preserves the format, but makes the page difficult to maintain in HTML format. It's relatively easy to maintain now in PHP.

Unfortunately, there were some extra things like HTML search forms that were impossible to post on FR, but I have them working on my local copy of the page.

37 posted on 09/10/2006 1:11:40 AM PDT by HAL9000 (Happy 10th Anniversary FreeRepublic.com - Est. Sept. 23, 1996 - Thanks Jim!)
[ Post Reply | Private Reply | To 36 | View Replies ]


To: HAL9000; abb
Hey ABB!
38 posted on 09/10/2006 1:49:43 AM PDT by Ken H
[ Post Reply | Private Reply | To 37 | View Replies ]

To: HAL9000

I should probably explain something. I use a an msntv. I don't own a mouse.


41 posted on 09/10/2006 2:07:42 AM PDT by Ken H
[ Post Reply | Private Reply | To 37 | View Replies ]

Free Republic
Browse · Search
General/Chat
Topics · Post Article


FreeRepublic, LLC, PO BOX 9771, FRESNO, CA 93794
FreeRepublic.com is powered by software copyright 2000-2008 John Robinson