WordPress.org

Forums

[resolved] How to add category feed to head (6 posts)

  1. Sarah Cairncross
    Member
    Posted 1 year ago #

    I want a category feed in the head so it can be auto detected by feed readers. What is the best way for me to do this? The feed url has already been created by Blubrry PowerPress plugin.

    Thanks for your help :)

  2. Maria Antonietta Perna
    Member
    Posted 1 year ago #

    This article in the Codex has a section by the title Adding Feeds that might be of help:

    https://codex.wordpress.org/WordPress_Feeds

  3. Sarah Cairncross
    Member
    Posted 1 year ago #

    Hi Antonietta, yes I'd read that article too but it doesn't address what I'm trying to do.

    I did find this post - http://lorelle.wordpress.com/2007/01/24/understanding-using-and-customizing-wordpress-blog-feeds/

    I followed the instructions and added the following code into the header:

    <link rel="alternate" type="application/rss+xml" title="RSS 2.0" href="http://thebusinesssuccessfactory.com/category/business-success-podcast/feed/" />

    Which did make it appear in the auto detection but when I clicked to view the feed link in my reader (Feedly), it did not showing just the category posts but ALL the posts for the domain.

    I don’t understand why :(

    I just want it to display the category posts for that feed which is working fine when I check it on feed validator.

  4. Maria Antonietta Perna
    Member
    Posted 1 year ago #

    Hi Sarah,

    The RSS link in your post above contains posts from the right category. However, when I access any page from your blog and view the source, I can't see the link with the category feeds in the head of the document. These are the only feed links I can see:

    <link href="http://thebusinesssuccessfactory.com/feed/" title="The Business Success Factory » Feed" type="application/rss+xml" rel="alternate">
    
    <link href="http://thebusinesssuccessfactory.com/comments/feed/" title="The Business Success Factory » Comments Feed" type="application/rss+xml" rel="alternate">
    
    <link href="http://thebusinesssuccessfactory.com/tbsf-001-brett-mcfall/feed/" title="The Business Success Factory » TBSF 001 | Brett McFall | Grilled Like A Prawn On The Barbie! Comments Feed" type="application/rss+xml" rel="alternate">

    Unfortunately, I'm not an expert on this particular area, and I hope someone else more familiar with RSS links comes to the rescue here. However, I think that if the link has been added, it should appear in the page's markup.

  5. Sarah Cairncross
    Member
    Posted 1 year ago #

    Hi Antonietta, I removed it as it wasn't working. I've added back now so you can see - if you go the site you'll see it listed as RSS 2.0

  6. Sarah Cairncross
    Member
    Posted 11 months ago #

    I'm guessing that what I'm asking can't be done. Never mind!

Topic Closed

This topic has been closed to new replies.

About this Topic