View Full Version : Where do I edit my site description for my RSS feed?
sendsomething.org
06-18-2007, 03:56 PM
I've looked around but can't find the location where I can enter a description for my site that would be included in my RSS feed.
Maybe I didn't look close enough. Can anyone tell me where that would be?
Thanks!
I love pixelpost.
dakwegmo
06-18-2007, 04:53 PM
PixelPost uses the Site Title for Feed Description. If you want to change it, you'll have to hack the file includes/functions_feeds.php. All you have to do is type the description between the opening and closing <description> tags.
You'll need to make the change for each feed type where you want the new description to show up (i.e. if you only change the description in the RSS 2.0 section, the atom feeds will still display the default). Be careful with special characters as they could break the php, and remember that because this is a hack, you'll have re-hack the files the next time you upgrade. Unless of course later versions of PP have the option of modifying the RSS description (and copyright) from the admin panel.
Dkozikowski
06-18-2007, 09:01 PM
I've looked around but can't find the location where I can enter a description for my site that would be included in my RSS feed.
Maybe I didn't look close enough. Can anyone tell me where that would be?
Thanks!
I love pixelpost.
What is it that you wish to change exactly within the title?
sendsomething.org
06-18-2007, 10:37 PM
Thanks for the help, dakwegmo. I looked at my functions_feed.php file and I found one set of the tags using my code inspector (Dreamweaver MX). But I am not sure if I am looking at the right place.
dwilkinsjr, I submitted my site to photoblogs.org and would like to have a description show up on the profile page. Just a sentence or two.
I am having trouble figuring out where exactly in the file to add in a description. I am pretty comfortable coding simple HTML but I haven't much experience with php and I am a bit hesitant to make any changes in there.
Can you tell me, exactly, where the text would go?
I also noticed that the feed info can pull copyright information as well, so it would be helpful if you could point that out as well.
Thanks again for your help!
dakwegmo
06-19-2007, 04:45 AM
In PP 1.6, if you look around line 21 of function_feeds.php, you should see something like this
<description>$pixelpost_site_title</description>
This will display the site title that you have defined in the admin menu. You can remove this or add to it. Just type whatever you want between the <description> tags. For simplicity's sake, I'd avoid using single or double quotes, semi-color, or other special characters, but other than that you can type pretty much anything you want between the opening and closing description tags.
As far as adding a copyright, you can create a new element on the next line of the same file with opening and closing copyright tags, and your copyright notice in between.
The new lines with both changes might look like
<description>This is the cool photoblog of sendsomething.org. blah blah blah.</description>
<copyright>Copyright 2007 sendsomething.org, All Rights Reserved</copyright>
<docs>http://blogs.law.harvard.edu/tech/rss</docs>
<generator>pixelpost</generator>
As long as you tell photoblogs.org to use your RSS feed, and you don't care if other feed readers have this information, then these are the only lines you need to worry about.
sendsomething.org
06-22-2007, 09:30 PM
OK I found that. But it looks like photoblogs.org is picking up the Atom Feed and not the RSS, although I could be mistaken.
And I can't find description in the Atom section. Maybe I am just missing it?
dakwegmo
06-22-2007, 11:40 PM
Just change the order of the feeds in your image_template.html Because photoblogs.org supports both it's picking up the first one it sees. Put the RSS first, and that will be the one it picks up.
sendsomething.org
06-25-2007, 12:46 AM
OK that was exactly what I needed.
Incidentally, I realized why I was having so much trouble finding the right place in the php file to edit the code. I am using Dreamweaver MX, which is great, and when I opened any .php file it was opened in Design view. When I switched to Code view, it was much different looking and easier to edit.
I basically know very little about php. Thanks again for all your help!
/pixelpost is awesome
vBulletin® v3.7.3, Copyright ©2000-2013, Jelsoft Enterprises Ltd.