homepage Welcome to WebmasterWorld Guest from
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Pubcon Platinum Sponsor 2014
Visit PubCon.com
Home / Forums Index / Code, Content, and Presentation / RSS, ATOM, and Related Technologies
Forum Library, Charter, Moderators: bill & werty

RSS, ATOM, and Related Technologies Forum

Generating RSS from image gallery & geoRSS
Need some help on the basics

 5:57 am on Nov 1, 2008 (gmt 0)


I'm completely new to creating RSS. I've been developing in XHTML/CSS for a few years now, so I'm not completely oblivious.

I want to be able to create a feed that scans an image gallery and adds the images to a feed. I also want the user to be able to add meta data that will pin point the location of the photo (geoRSS).

Any ideas on how to do either?





 7:22 am on Nov 1, 2008 (gmt 0)

Welcome to WebmasterWorld thesprucegoose.

For photos you'd just put the image URL into the RSS like this:
<img src="URL" alt="alt text" align="right" />

GeoRSS [georss.org] isn't something I've used before in my feeds, but it doesn't look too difficult. You add your latitude and longitude like this:
<georss:point>34.6861553192139 135.526142120361 </georss:point>

You'll want to use an appropriate namespace for the GeoRSS.

I came across a neat GeoRSS editor [geotwitter.net]. It's an online application and you can generate a GeoRSS feed by pointing and clicking on a map.


 12:35 am on Nov 2, 2008 (gmt 0)

Thanks for the response!

That's a fantastic start, but I don't even know how to setup an RSS feed! :(

I know it's an XML file, but how do you get it to automatically add content? For example, a user submits a new photo with his/her geographical location. How do I get the XML file to automatically update with the .jpg file and the <georss:point> meta data?

Thanks again,


 1:13 pm on Nov 2, 2008 (gmt 0)

You can create RSS feeds manually with a text editor if you like, but if you're looking for something automatic then you'll probably want something like a CMS to generate the feed for you. Most CMS and blog packages will do this for you.

The RSS spec [rssboard.org] is fairly simple. It's an XML dialect, so if you're familiar with web coding it won't be too difficult to grasp.

Global Options:
 top home search open messages active posts  

Home / Forums Index / Code, Content, and Presentation / RSS, ATOM, and Related Technologies
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved