SitePoint Sponsor |
|
User Tag List
Results 1 to 3 of 3
Thread: RSS Feed - set number of results
-
Jan 26, 2007, 08:36 #1
- Join Date
- Aug 2002
- Location
- N.Ireland
- Posts
- 1,046
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
RSS Feed - set number of results
I have an RSS Feed on my page showing the latest BBC Technology news. However, it currently shows all headlines and I want to restrict it to 2/3.
I'm a novice when it comes to JS, can anyone help please?
-
Jan 26, 2007, 08:40 #2
- Join Date
- Feb 2003
- Location
- Slave I
- Posts
- 23,424
- Mentioned
- 2 Post(s)
- Tagged
- 1 Thread(s)
You shouldn't be using javascript for this. The script that is parsing the RSS should be doing this.
-
Jan 26, 2007, 08:46 #3
- Join Date
- Aug 2002
- Location
- N.Ireland
- Posts
- 1,046
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
I should have explained that the site is content managed, so its a data table object which sends a request and imports the feed as xml and a format template exports it as html. I need a script in between which will restrict the number of headlines it displays.
Bookmarks