Welcome to WebmasterWorld Guest from 54.158.212.93

Forum Moderators: bill & werty

Message Too Old, No Replies

Generating RSS from image gallery & geoRSS

Need some help on the basics

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

New User

5+ Year Member

joined:Nov 1, 2008
posts:2
votes: 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

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

Administrator from JP 

WebmasterWorld Administrator bill is a WebmasterWorld Top Contributor of All Time 10+ Year Member Top Contributors Of The Month

joined:Oct 12, 2000
posts:15003
votes: 132


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)

New User

5+ Year Member

joined:Nov 1, 2008
posts:2
votes: 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

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

Administrator from JP 

WebmasterWorld Administrator bill is a WebmasterWorld Top Contributor of All Time 10+ Year Member Top Contributors Of The Month

joined:Oct 12, 2000
posts:15003
votes: 132


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.

 

Join The Conversation

Moderators and Top Contributors

Hot Threads This Week

Featured Threads

Free SEO Tools

Hire Expert Members