Each headline displays via a line of code like this:
Code: Select all
<a href="e;http://headlines.site.org/users/mysite/link.asp"e;>
<script src="e;http://headlines.site.org/headlines/headline2.js"e;></script>Sometimes the feeds are slow and affect the load time of our page (sometimes the page will hang for minutes).
The solution I envisioned was to take a daily 'snapshot' of a successful feed (wget?) and then display the headlines as static.
That won't work because wget copies the actual js code.
So, what I'm thinking now is this:
1] Display the js files,
2] extract their text links, and
3] use a different method to place it on the page
Perhaps an intermediate step is to write the links to a text file.
Trying to keep this simple... but...
Ideas? Comments?
The obvious fix would be for the newsfeed host to provide a reliable feed. They tell me they have a timeout built in, but I don't see it...
Thanks.