954,168 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

Having a hard time with an RSS feed

I'm having a hard time trying to syndicate my blogs. I want to create an RSS feed via PHP. So far, I have it running through all of the entries and spitting out . My problem is with the header. How do you declare those first few lines of and and what version of RSS am I supposed to be using?!

cscgal
The Queen of DaniWeb
Administrator
19,421 posts since Feb 2002
Reputation Points: 1,474
Solved Threads: 229
 

Check out my feed from my website. Last time i checked it was a valid RSS feed.

http://www.iportalx.com/xml/latest_posts.xml

Maybe you can use it as a basic example ;)

Drew
Junior Poster
166 posts since Apr 2004
Reputation Points: 25
Solved Threads: 7
 

Got trouble with your RSS have you now....

Suggest you pop along and read this http://www.xml.com/pub/a/2002/12/18/dive-into-xml.html should answer some of your questions.....or not as the case mybe.

And although this doesn't quite fit your PHP requirements I found this fantastic little program takes all the effort out of XML infact its dam right cheating.

RSS Builder at http://home.hetnet.nl/~bsoft/rssbuilder/download.htm

macseyco
Newbie Poster
5 posts since Apr 2005
Reputation Points: 10
Solved Threads: 1
 

You look like you're doing okay. Are you still having trouble?

Alcides.

Alcides
Junior Poster in Training
54 posts since Jul 2004
Reputation Points: 11
Solved Threads: 0
 

Well CSCgal - to me, you are an IT Goddess! You have a script that partially works. You actually know something about the required scripting. You probably know what RSS stands for. I'm envious!

I know that RSS is useful, almost mandatory now, but what I need is the complete idiot's guide to setting up RSS so that MY content is syndicated. I've trawled Google at length, but writers can make English read like Swahili.

You know the kind of help I mean....really simple, like;

"You put the left leg in,
you put the left leg out,
you put the left leg in an' shake it all about,
You do the hokey-pokey and you turn around...
That's what it's all about"

numerouno
Newbie Poster
24 posts since Apr 2005
Reputation Points: 10
Solved Threads: 0
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You