Directory : Newsfeeds
Newsfeeds at SiteLibrary are a new feature as of February
2008. You may use a newsfeed of any topic on your website to provide resources on the latest sites related
to the topic of your website.
Here is a listing of all of our top level category newsfeeds.
You may find the more specific category newsfeeds in the smaller subcategories of the topics above, within the pertinent categories of the main directory.
We are currently working up some more technical solutions to make available for use in displaying these feeds. Solutions in a diversity of back end programming languages are planned. If you are in need of such a solution, please check back frequently for updates in this direction. Special requests may be made via our forums or directly through the contact form.
Here is an example of a newsfeed (of the Arts category) displayed using javascript. A Perl script is used to generate the javascript from the XML source.
Here is the code for displaying the feed as shown above:
The parameters for the above are as follows and are configurable.
Here is a listing of all of our top level category newsfeeds.
You may find the more specific category newsfeeds in the smaller subcategories of the topics above, within the pertinent categories of the main directory.
We are currently working up some more technical solutions to make available for use in displaying these feeds. Solutions in a diversity of back end programming languages are planned. If you are in need of such a solution, please check back frequently for updates in this direction. Special requests may be made via our forums or directly through the contact form.
Here is an example of a newsfeed (of the Arts category) displayed using javascript. A Perl script is used to generate the javascript from the XML source.
Feed Compliments of SiteLibrary Web Directory
Here is the code for displaying the feed as shown above:
<script type="text/javascript" src="http://www.wideopensources.com/cgi-bin/rss/rss2js.pl?remote=http://www.sitelibrary.net/Directory/Arts/cat.xml&name=y&desc=y&num=10&wid=100%"></script>
<noscript>This is an XML newsfeed displayed using javascript. If javascript is disabled, it won't show up.</noscript>
<div style="text-align: right"><small>Feed Compliments of <a href="http://www.sitelibrary.net/" target="_blank">SiteLibrary Web Directory</a></small></div>
<noscript>This is an XML newsfeed displayed using javascript. If javascript is disabled, it won't show up.</noscript>
<div style="text-align: right"><small>Feed Compliments of <a href="http://www.sitelibrary.net/" target="_blank">SiteLibrary Web Directory</a></small></div>
The parameters for the above are as follows and are configurable.
- remote = the full URL of the feed
- name = y or n for whether to show the title of each item or not
- desc = y or n for whether to show the description of each item or show the list of links only
- num = number of items to show
- wid = the width setting for the list display
