Print Page | Close Window

RSS Feed of Latest Forum Posts

Printed From: Web Wiz Forums
Category: General Discussion
Forum Name: General Discussion
Forum Description: General discussion and chat on any topic.
URL: https://forums.webwiz.net/forum_posts.asp?TID=14035
Printed Date: 01 April 2026 at 12:11pm
Software Version: Web Wiz Forums 12.08 - https://www.webwizforums.com


Topic: RSS Feed of Latest Forum Posts
Posted By: Agni
Subject: RSS Feed of Latest Forum Posts
Date Posted: 28 February 2005 at 8:59am
Do any members use RSS to show their latest forum posts? (I have tried searching the forum for this topic honest, but not found anything.)
I would be very interested if there are any experiences, and is it worth the effort?
Thanks

Nathan


-------------
www.agni.gr
Travel To Greece Guide



Replies:
Posted By: michael
Date Posted: 28 February 2005 at 10:00am
Couldn't have searched very good now, did you Wink  http://forums.webwiz.net/search.asp?KW=RSS&SM=1&SI=PT&FM=2&OB=1 - http://forums.webwiz.net/search.asp?KW=RSS&SM=1&SI=PT&FM=2&OB=1

-------------
http://baumannphoto.com" rel="nofollow - Blog | http://mpgtracker.com" rel="nofollow - MPG Tracker


Posted By: Agni
Date Posted: 28 February 2005 at 10:22am
Thanks mate. I tried searching for:
http://forums.webwiz.net/search.asp?KW=RSS+feedsa&SM=1&SI=PT&FM=0&OB= 1
(RSS Feeds) but got no results.
Incidentally, the link you gave has some interesting posts, but I am looking for feedback as to whether it is worth using RSS.
I have just created a script that is run whenever a new post is made and it saves the latest posts to this file:

http://www.agni.gr/feed.xml

Looks OK, but now what?
Do I submit it to search engines?

Thanks and sorry to be an XML newbie.

Nathan

www.agni.gr


-------------
www.agni.gr
Travel To Greece Guide


Posted By: michael
Date Posted: 28 February 2005 at 11:12am
I think it is absolutely worth it using RSS, it is the best way to interconnect sites, if you have interesting RSS feeds, sites will link to you which is what you want after all, right?

-------------
http://baumannphoto.com" rel="nofollow - Blog | http://mpgtracker.com" rel="nofollow - MPG Tracker


Posted By: dpyers
Date Posted: 28 February 2005 at 12:03pm
You might want to google for something like free rss travel to find sites that offer feeds. They're always looking for new feeds to add to their lists.
 
Something that helps encourage people to include your feed is if you also make available for download a .xsl/.xslt style sheet that will format the rss feed into a table or iframe along with some sample asp/php code to pull the feed and pass it through the stlye sheet.
 
I tried to pull your xml to build a style sheet but got this error.
XML Parsing Error: not well-formed
Location:
http://www.agni.gr/feed.xml - http://www.agni.gr/feed.xml
Line Number 1, Column 365:
 
error was the space between
& and skelet in this code -
ncrete foundations & skeleton,


-------------

Lead me not into temptation... I know the short cut, follow me.


Posted By: xeerex
Date Posted: 28 February 2005 at 12:06pm
I agree with micheal. I posted the RSS mod at the following link and use mine to monitor several message boards I admin. Not only does it provide users a way of checking posts, but as an admin/moderator I can monitor the boards quickly since I use Trillian for my RSS reader.

http://forums.webwiz.net/forum_posts.asp?TID=11905 - http://forums.webwiz.net/forum_posts.asp?TID=11905


-------------
http://webspacegeeks.com - Need Hosting, Domains, Dedicated Servers?
http://www.smartergeek.com - web design | pc support | training | podcasts | video production


Posted By: xeerex
Date Posted: 28 February 2005 at 12:08pm
Also, if you want to pull in an RSS feed using XML and ASP, then there is a good article here:

http://home.att.net/%7EcodeLibrary/XML/rss.htm - http://home.att.net/~codeLibrary/XML/rss.htm

I've used that technique on several sites.


-------------
http://webspacegeeks.com - Need Hosting, Domains, Dedicated Servers?
http://www.smartergeek.com - web design | pc support | training | podcasts | video production


Posted By: Agni
Date Posted: 28 February 2005 at 12:27pm
That's Great, thankyou for your helpfull replies.

I'll take a look at the links you have suggested.

DP:
"I tried to pull your xml to build a style sheet but got this error."

Yes thanks mate, I noticed that, it was because a member made a new post that had an "&" in the topic. I'll have to run topic title though a quick function to replace "&"  into "and" and clean up any other ilegal chars.

Otherwise all is working well and I am using "FeedReader" to keep an eye I'll take a look at the other links you have suggested.on my feed.xml page.
What i am now trying to do is put the current post (or at least the first part of it) as the description, but this is proving a little more difficult.


Cheers

Nathan
Corfu, Greece


-------------
www.agni.gr
Travel To Greece Guide


Posted By: dpyers
Date Posted: 28 February 2005 at 12:36pm
Works now. Borg has some forum code for claening out special characters before running an sql update.
 
I'm working with xsl this week so tonight I'll take a run at your xml and set one up for it to be built as an embedable table.
 
EDIT: You might want to make the channel description something a little more appropriate for viewing on other peoples sites. Right now, the description is geared for viewing from your site.


-------------

Lead me not into temptation... I know the short cut, follow me.


Posted By: Agni
Date Posted: 01 March 2005 at 4:43pm
I've had a great day 'playing' with XML and am seeing loads of useful applications!

DP, I've renamed the main channel to the forum. Maybe I will also add some other channels later.

I am now trying to add the text of the "latest forum posts" to the RSS feed, but some of the posts formating is causing errors.

I have already found a function to remove the HTML tags, but what about all the other control codes such as '’'  If these are not removed then errors in the XML code will result.

Any advise or suggestions would be very welcome.

Thanks

Nathan


-------------
www.agni.gr
Travel To Greece Guide


Posted By: xeerex
Date Posted: 01 March 2005 at 7:26pm
Hi Nathan,

If you find some travel sites that are offering XML content or RSS feeds, I would appreciate an email. I'm designing sites for 2 clients that own US travel agencies. So far, it has been difficult to find any feeds from the travel industry that I can pull into their sites without extensive parsing.

You can directly email me at rex (at) rexpage (dot) com if you have time, or post here.

Thanks in advance.


-------------
http://webspacegeeks.com - Need Hosting, Domains, Dedicated Servers?
http://www.smartergeek.com - web design | pc support | training | podcasts | video production


Posted By: dpyers
Date Posted: 01 March 2005 at 11:32pm
Here's some code I use to replace asp code characters for display purposes. You could probably use code like it to do the reverse.
 
 strPageText = replace(strPageText,"&","&")
 strPageText = replace(strPageText,"<", "&lt;")
 strPageText = replace(strPageText,">", "&gt;")
 strPageText = replace(strPageText,vbCRLF, "<br>")
 strPageText = replace(strPageText,vbTab, "&nbsp;&nbsp;&nbsp;")

 
I wasn't able to get to your xml file last night, but I played with it this evening. link to zip.
 
If you take the header and footer includes out of the asp file, you could just include the asp file in any page. The xsl style sheet could be used for any 1.0 or 2.0 rss feed - not sure about 0.91 as I think that has a DocType specified.
 
I embedded the css for the table within the xsl but it could also be copied into a linked site or page style sheet. Just a little easier for someone to modify the css this way.
 
 


-------------

Lead me not into temptation... I know the short cut, follow me.


Posted By: Agni
Date Posted: 02 March 2005 at 3:07pm
DP, thanks Soooooo much. You have helped me cure all the problems with displaying the Forum message within the XML feed, PLUS given me a way to display the feed on other sites.

I'm really greatful. (Check your inbox, I'll try to email you a free holiday! )

My RSS feed is working really well now and my members love it!

Thanks everyone for your help

Nathan


-------------
www.agni.gr
Travel To Greece Guide



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.08 - https://www.webwizforums.com
Copyright ©2001-2026 Web Wiz Ltd. - https://www.webwiz.net