[resolved] OPML Queries, like Category Feeds (Feasible Request) (4 posts)

  1. rolandog
    Posted 10 years ago #

    Is it possible to include support for queries of category titles to the wp-links-opml.php file?

    Like, for my 'Blogroll' category, I'd like to be able to see an OPML with only that section, since its the only section with RSS or ATOM feeds for all the links.

    For instance, my categories' names are all plural words, and my URLs for categories are like: example.com/just/podcasts/feed/.

    How about including a rewrite rule or something so that a query like
    can be passed by an URL like

    With the additional feature of being 'case insensitive' so that 'Blogroll' and 'blogroll' are the same.

  2. The functionality to get by link category number is already there, if that helps any.

    You can do something like these:
    and so on.

    Okay, the URL's are not pretty or anything, but if you're just looking to get the actual OPML, that works. Adding support for "by name" would probably not be too hard, although case insensitivity is asking a lot. ;)

  3. rolandog
    Posted 10 years ago #

    Hi Otto42. Thanks for your reply. I din't know about the search by category. I guess this works for me... since I wanted to get only those links.

  4. rolandog
    Posted 9 years ago #

    Hey, I looked up some rewrite rules,... at this cheatsheet:

    How about using something like:
    RewriteRule ^opml/([0-9-]+)/?$ wp-links-opml.php?link_cat=$1

Topic Closed

This topic has been closed to new replies.

About this Topic