WordPress.org

Ready to get started?Download WordPress

Forums

Press
[resolved] Additional RSS category (5 posts)

  1. kingstonrichard
    Member
    Posted 8 months ago #

    Feature request:

    To access the RSS feed with a query string that limits the returned entries to just news items with a matching set of tags applied, e.g:

    domain.com/news/feed?categoryname=tagname

    Thanks

    https://wordpress.org/plugins/press/

  2. Matt Watson
    Member
    Plugin Author

    Posted 8 months ago #

    Hi Rich,

    This functionality is already built into the RSS feed in WordPress, you just have to use the correct taxonomy name (which in this case is press_category) if you follow the link: http://new.barnsley.gov.uk/news/feed/?press_category=general the RSS feed will be filtered by the category "general".

    By the way, a quick bug report for you, if you visit http://new.barnsley.gov.uk/news/ and hit the archive links you end up at broken links such as "news/2014/05" instead of "http://new.barnsely.gov.uk/news/2014/05" I think the link just needs a "/" adding in front of it.

    If you have any more requests, please let me know, we are happy to help.

  3. kingstonrichard
    Member
    Posted 7 months ago #

    Thanks Matt,

    Bug fixed - by you :-)

    As an extra ask on this, is it also possible to be able to pass in a date range to further customise the feed?

    Specifically for a MailChimp campaign, I'd like to be able to get a feed of all the items published in the last 7 days that are tagged with a certain news category.

    Cheers

    Rich

  4. Matt Watson
    Member
    Plugin Author

    Posted 7 months ago #

    Hi Rich,

    I didn't fix the archive bug, its still there. click one of the archives on this page: http://new.barnsley.gov.uk/news/

    I'm afraid changing the RSS would be out of the scope of this plugin, because RSS is a built in WordPress feature.

    If you are wanting to do this, you can create your own RSS feed. One example of how to do that is here: http://www.wprecipes.com/creating-user-defined-rss-feeds-in-wordpress

  5. kingstonrichard
    Member
    Posted 7 months ago #

    Ok Matt, no worries.

    RE the news fix, it looks like the plugin is outputting // at the beginning of the links when the $slug is empty.

    I'll rectify that now - sorry I thought you'd sorted it.

Reply

You must log in to post.

About this Plugin

About this Topic

Tags