• dparmet

    (@dparmet)


    I’d like to create RSS feeds for each specific category. I know there was a way to do this prior to 1.2 but I can’t find any documentation on the Wiki for a way to do it now, or prospectively with 1.3.
    Anyone know of a plug in or hack or what not that I can use, a point in the right direction would be appreciated!
    thanks
    david parmet
    https://www.parmet.net/david

Viewing 5 replies - 1 through 5 (of 5 total)
  • Kafkaesqui

    (@kafkaesqui)

    https://wiki.www.ads-software.com/wp_list_cats
    See info on feed and feed-image.

    Thread Starter dparmet

    (@dparmet)

    hrm..
    so for example… if I want a separate feed for the catagory “pictures” I’d put <?php wp_list_cats(‘feed=pictures’); ?> in the index.php file? and that would generate the feed?
    Sorry, I’m at the low end of the PHP learning curve…

    Kafkaesqui

    (@kafkaesqui)

    In future, remind me to read the link I’m pointing to. I thought it explained this better…
    No, not quite. If you ran wp_list_cats() as I have it above, as is, it list all categories, with a separate link to the feed next to each category. The text after feed= becomes the link text.
    To specify a single category, you can do it with wp_list_cats(), but you may be better off manually linking to it:
    /wp-feed.php?feed=FEEDTYPE&cat=CAT_ID
    FEEDTYPE is rss, rss2, atom, or rdf.
    CAT_ID is the numeric id for the category.
    If you use custom permalinks, then it should be something like:
    /category/pictures/feed/FEEDTYPE/

    Beel

    (@beel)

    <?php wp_list_cats(‘optionall=1&sort_column=name&optioncount=1&feed=RSS Feed&feed_image=/wordpress/images/rss_small.gif’); ?>

    Thread Starter dparmet

    (@dparmet)

    Alrighty then… a bit clearer.
    Thanks and I’ll give it a try!
    -david

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘RSS feeds for each category’ is closed to new replies.