homepage Welcome to WebmasterWorld Guest from 54.227.20.250
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member

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
thesprucegoose

5+ Year Member



 
Msg#: 3778039 posted 5:57 am on Nov 1, 2008 (gmt 0)

Hey,

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?

Thanks!

~thesprucegoose

 

bill

WebmasterWorld Administrator bill us a WebmasterWorld Top Contributor of All Time 10+ Year Member



 
Msg#: 3778039 posted 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.

thesprucegoose

5+ Year Member



 
Msg#: 3778039 posted 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,
~thesprucegoose

bill

WebmasterWorld Administrator bill us a WebmasterWorld Top Contributor of All Time 10+ Year Member



 
Msg#: 3778039 posted 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