PDA

View Full Version : updating feeds?


djaef
09-23-2006, 10:19 AM
I was going to add my new blog to photoblogs.org, and although it found the rss feed, it listed a few things as blank - description and copyright details. I read and searched and it said to update the rss feed, but how do you do that? Where can I add description and copyright stuff?

thankx

GeoS
09-23-2006, 11:10 AM
/index.php starting from line 764 you have code for RSS channel.

djaef
09-23-2006, 12:48 PM
Thanks, but I don't see anywhere to add copyright or description there. Do you add it yourself? And if so, any idea how you write that?

GeoS
09-23-2006, 04:17 PM
I.e.:

@772:
<description>This is my personal blog called $pixelpost_site_title. You can watch here photos from many location within Poland and some from abroad.</description>

I also added at mine, after previous line, this:
<generator>pixelpost</generator>
<webMaster>Piotr Galas</webMaster>
<copyright>Copyrights " . date("Y") . " Piotr Galas</copyright>

There are many possibilities to develop it.

djaef
09-23-2006, 10:51 PM
I did as you have shown here, but when I try to list on photoblogs it still doesn't find the new info in the feed. I edited the title, added a description and added a copyright comment, but it's just not picking it up. Any ideas?

This is what photoblogs.org returns:
Site URL http://www.photografica.com.au/blog/
Feed URL http://www.photografica.com.au/blog/index.php?x=atom
Title photografica photoblog
Copyright
Description
Recent Posts

* Eddie boy (18 hours ago)
* Circle of Fire (1 day ago)
* An old tin (2 days ago)
* Scout (4 days ago)

-------------------------------------

this is what I've got in index.php

<rss version=\"2.0\">
<channel>
<title>".$pixelpost_site_title."</title>
<link>".$cfgrow['siteurl']."</link>
<description>$pixelpost_site_title is the personal photoblog of Geoff Powell of Photografica Creative Solutions, showcasing a selection of images from Australia and abroad.</description>
<docs>http://blogs.law.harvard.edu/tech/rss</docs>
<generator>pixelpost</generator>
<webMaster>Geoff Powell</webMaster>
<copyright>Copyright " . date("Y") . " Geoff Powell. All rights reserved.</copyright>
";

GeoS
09-23-2006, 11:51 PM
Because you are changing RSS 2 and photoblogs.org takes your ATOM channel.

Few lines lower there is ATOM channel definition and there make same mods.

djaef
09-24-2006, 12:14 AM
ahhh, thanks. (do we have an emabrrased smiley here)

djaef
09-24-2006, 12:55 AM
But it's not as easy as it seems. I have never tried to write an ATOM feed before, and it appears I have put things in the wrong place. Any chance of help?

http://www.feedvalidator.org/check.cgi?url=http%3A%2F%2Fwww.photografica.com.au %2Fblog%2Findex.php%3Fx%3Datom

I have read through pages of ATOM syntax documents and it's absolutely horrible stuff :) I don't want to go near this stuff, I just want it to work. The errors relate to elements that are not defined, but I don't even know where to start.

Actually with the whole RSS/ ATOM feed thing - I still don't even quite understand how feeds work and why they are cool, but I assume they are cool, cause they are certainly getting popular. But I just want to be able to register my blog at various sites, so obviously I need to understand this feed thing. Any advice or help would be greatly appreciated.

Connie
09-24-2006, 06:34 AM
I know about Atom syntax, I bought and read a book about feed syntax beside all the online-tutorials when I wrote the Pixelpost Parts

I am glad the feeds are working correctly

I am glad I made it Atom 1.0 valid and you will understand that I wil not go deeper into these topics it unless it is necessary for Pixelpost's valid output

If I may give you some advice, suggestion or whatever:

why not concentrate on real important topics? Do some photos, add content and enjoy life! Atom Feed is not the center of the world, it is just a rarely used feature of software (and: software is not life!)

GeoS
09-24-2006, 03:54 PM
Try to change order of feeds from:
<!-- Link for ATOM feed autodiscovery -->
<link rel="service.feed" type="application/x.atom+xml" title="photografica - ATOM Feed" href="http://www.photografica.com.au/blog/index.php?x=atom" />
<!-- Link for RSS feed autodiscovery -->
<link rel="alternate" type="application/rss+xml" title="photografica - RSS Feed" href="http://www.photografica.com.au/blog/index.php?x=rss" />
to:

<!-- Link for RSS feed autodiscovery -->
<link rel="alternate" type="application/rss+xml" title="photografica - RSS Feed" href="http://www.photografica.com.au/blog/index.php?x=rss" />
<!-- Link for ATOM feed autodiscovery -->
<link rel="service.feed" type="application/x.atom+xml" title="photografica - ATOM Feed" href="http://www.photografica.com.au/blog/index.php?x=atom" />

And photoblogs.org should take your RSS feed (as it will become first available from top of the page code) :)