Forum Moderators: open
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
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>
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.
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
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.