Author |
Topic |
|
Nico
Starting Member
1 Posts |
Posted - 14 February 2005 : 21:01:16
|
Unless I've missed it in the forums, I haven't seen a MOD which allows you to display a news feed or RSS (Really Simple Syndication) on your forum.
I have got some news feeds up and running on a test site using code from Marcel Göertz. However it would be great to have a proper MOD for the display of various news feed, which could be displayed on the Site News page.
Marcel also has code which means you can create an RSS news feed from your forms. However I haven't looked into this yet.
My main objective at the moment is to be able to display the news on my site. Some of the features that would be useful are:
* Ability to choose the number of news feeds displayed on the Site News page. * Ability to set the news feed options from Admin Options. * Ability to paste each of the RSS URL's into a form in admin page. * Have control over how the news items are displayed. i.e.: Show/Hide - Channel Title and Description Show/Hide - Channel Image Size Channel Image Item Title - limit character length / Show all Show/Hide - Item Description Item Description - limit character length / Show all Show/Hide - Item Published Date Format Item Published Date Show/Hide Source URL (i.e. Reuters)
I would love to be able to tackle this MOD myself, however my coding skills are just not up to it.
I would love to hear from anyone who thinks they could make this work, or if they already know of a MOD that's been done.
Cheers,
Nico. |
|
Podge
Support Moderator
Ireland
3775 Posts |
|
gelliott
Junior Member
USA
268 Posts |
Posted - 15 February 2005 : 20:20:27
|
Podge, Nico is not wanting to syndicate their forum (as the mods you listed do), but rather offer news feeds on the forum's page (feeds from elsewhere).
Nico, you need some software to parse and display remote XML content. I am not aware of a mod to do this, although RSS formatting is easy enough to follow - I imagine a function similar to the ReplaceTags function in Snitz (for handling forum code) could parse and reformat the input to a display-able output. The trouble comes in two areas - (1) retreiving the XML content in a manner that loads it into a variable for you to work with, and (2) if desired, you would need to write some sort of admin page to add/manage the XML urls you wish to display and the display options desired (only the last five listings? all? only within the past x hours? any limiting options would need additional code in the parsing function to ignore the unwanted content). For #1, I know I have seen code on retreiving remote XML-formatted text, so it can be done, but I'm not sure I remember where it was. If I can find it I'll re-post here with the example. |
* The optimist says the cup is half full. The pessimist says it's half empty. But the engineer knows the truth - the cup's design is incorrectly sized. |
|
|
|
Topic |
|
|
|