Link to home
Start Free TrialLog in
Avatar of peps03
peps03

asked on

How to create a simple rss/xml feed/file for blog posts

Hi,

I'm creating a simple tool to post some articles in the form of a blog for a website.
Each post will contain a:
- title
- picture of video
- text

Now i'm asked to create a xml feed for these articles. How should i do this, and where should i pay specific attention to?

I searched the internet, but didn't find a satisfying answer.

What will a rss/xml feed/file like this look like?
How much text of each article will be included? The whole article?

The file should also be able to be imported to a wordpress blog for example.

Thanks
ASKER CERTIFIED SOLUTION
Avatar of PCableGuy
PCableGuy
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of peps03
peps03

ASKER

Thanks for your reply PCableGuy.

Your second link shows a nice sample.

How would i build the xml-file to show the preview of multiple blog posts for example?

And will i store this file as i .xml file on my server? I would like to generate the file with php, how should i do that?

Thanks
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of peps03

ASKER

Yes, each article will be stored in the database.

How would a rss file with multiple blogposts look like?
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of peps03

ASKER

Thank you!!
Great explanation on these websites!