WordPress.org

Forums

RSS feed frustrations: category, title, etc. (10 posts)

  1. kalico
    Member
    Posted 8 years ago #

    I have read every post and every support doc I can find, but I am not getting the results I want.

    The goal is to have an RSS feed to each CATEGORY not the entire site. My comment feeds work fine, but I want a feed for when I post something new to any given category.

    I have tried http://www.example.com/wp-rss2.php?cat=X where X is the category number. When I go directly to that URL, I get the option to subscribe. However, the title that shows is just the main blog title, not the title of the specific category.

    When I subscribe, in Mozilla's Live Bookmarks, I get "Live Bookmark feed failed to load."

    I do get updates when I subscribe to a comment feed on my site, so I know Live Bookmarks is more or less working properly.

    If I use pretty permalinks, such as http://www.example.com/category/feed/rss/ I get a 404 page not found error.

    If I use the built-in WP tags to generate my feed links, these are only to the whole site (www.example.com/feed/), not a category...and I am not getting a title at all, just a blank page.

    I hope this is making sense. This is my first experience with creating feeds, and it has been miserable so far. I hope I am overlooking something simple and can get this working quickly. Any help or advice will be most appreciated.

    I should add that my theme was created by me for this site, and is totally custom. Could it be I am missing some important element somewhere?

    Finally, I am also using PodPress, if that has any impact on any of this.

    Thanks. :)

  2. kalico
    Member
    Posted 8 years ago #

    Hm....I am not sure what to do here....I know bumping is kinda looked down on, but I hate to start a new thread saying exactly the same thing. The problem hasn't gone away. Am I missing something really obvious, and that is why no one replied? If so, I am still just as dense as before :). And I have searched all over the support site, and have tried lots of potential solutions, but none of them has fixed my problems. Any help would be greatly appreciated!

  3. Chris_K
    Member
    Posted 8 years ago #

    I have tried http://www.example.com/wp-rss2.php?cat=X where X is the category number. When I go directly to that URL, I get the option to subscribe. However, the title that shows is just the main blog title, not the title of the specific category.

    I'm afraid that's just the way it is. Perhaps someone could (or has) build a plugin to add the category.

    If I use pretty permalinks, such as http://www.example.com/category/feed/rss/ I get a 404 page not found error.

    Try www.example.com/category/feed instead.

  4. kalico
    Member
    Posted 8 years ago #

    Thanks HandySolo!! I appreciate your response. I will have to look into the plugin idea.

    As for the feed/permalinks issue, I tried just /feed/ as you suggested, and it takes me to the home page. (FYI I have to use the closing / or I get a 404 error.)

    Is this normal behavior, like the title "problem"? or is there something I need to do to make pretty permalinks work with feeds? Something missing in my theme or my .htaccess file?

    Also, I still have this problem:

    I have tried http://www.example.com/wp-rss2.php?cat=X where X is the category number.....
    When I subscribe, in Mozilla's Live Bookmarks, I get "Live Bookmark feed failed to load."

    I don't even know where to begin looking for a solution to this. Is there a file missing, or something to check for errors? Again, this being my first experience with feeds, I don't even know where in WP to start troubleshooting.

    Thanks again to Handy, and in advance to anyone else who might advise on this issue.

  5. It would help if we knew what your actual site was.

    If you're using "pretty" permalinks, then you can append "/feed/" to virtually anything and get a feed of it.

    For example, I have a category of "geekery" on my site. The link to that categories posts is:
    http://ottodestruct.com/blog/category/geekery/

    And here's the feed to it:
    http://ottodestruct.com/blog/category/geekery/feed/

    If I was not using pretty permalinks, my links would be like this:
    Category: http://ottodestruct.com/blog/?cat=79
    Category feed: http://ottodestruct.com/blog/?feed=rss2&cat=79

    Note that these last links don't work because of my feedburner redirection. That's intentional, in my case. But if I didn't have that, they'd work. :)

    If you're doing this using PHP code (like, in a theme), then you want to use the get_category_rss_link() function. It will get and optionally display the correct kind of category feed link regardless of your permalink settings. Some example uses of this function can be found here: http://wordpress.org/support/topic/26664?replies=35

  6. kalico
    Member
    Posted 8 years ago #

    Thanks Otto42!

    You can see the site at http://www.timelessword.com.

    I appreciate any help. Thank you very much.

    One thing I have learned through experimenting more today, is that I can get a category feed IF I include the word "category" in the URL (my site is not arranged in a way that makes this an obvious thing).

    If you look at the page titled "Sermons" (see menu at the top of the page) you will see what I mean. There are drop down lists which list all the posts in a category individually, and visiting the entire category is possible, but not obvious (the category links are above each drop-down list). I was taking the url of a POST and backing off the post title, and adding /feed/ to the end. That doesn't work. But if I start with the category itself, and add /feed/ that does work.

    HOWEVER....still when I subscribe to that feed, I still get an error message as described in my original post: "Live Bookmark feed failed to load."

    And furthermore....when I try to validate the feed at feedvalidator.org, I get errors I don't really understand. Apparently it doesn't like the registered trademark symbol

    ®

    and there is a little red caret under the semicolon in the copyright line. Here is the complete error message:

    line 20, column 32: Undefined named entity: reg (4 occurrences) [help]
    
        		<copyright> & # xA9;Timeless Word&reg; 2003-2006</copyright>

    If I am understanding the help file correctly, I would either need to change my use of the symbol to

    & # 174 ; (had to add spaces to make it come through in the post, sorry)

    or declare a doctype of Latin 1 or Special Characters??? I am a little lost on this part, so if anyone can clarify all that I am reading in plain English, it would be great. It seems like changing the declaration would be simpler than changing every use of the registered TM symbol in the whole site.

    Is the invalid feed causing the error in Live Bookmarks?

    Marci :)

  7. alcheme
    Member
    Posted 8 years ago #

    This works for me and I use Permalinks:

    http://www.sitename.com/category/category-name/feed/

    Voila...

  8. davidemorgan
    Member
    Posted 8 years ago #

    I had to disable the Permalink Redirect plugin to get category feeds working at all.

  9. prokihun
    Member
    Posted 7 years ago #

    I can get easily the feed of one of my categories in a feed-reader. But if I want to show this feed with my rss-widget on my blog there's always an error of broken down feed.
    what can be the problem? I tried with permalinks as well as php attributes, none of them works.

  10. prokihun
    Member
    Posted 7 years ago #

    funny, my category-feed doesn't work on any wordpress blog, not only on my blog while it has got as exactly the same syntax as the whole-blog feed which is working well everywhere. i can't figure why...

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags