Ticket #9236 (closed enhancement: duplicate)

Opened 3 years ago

Last modified 3 years ago

Improve categories/tags in ATOM feeds

Reported by: andy Owned by:
Priority: normal Milestone:
Component: Feeds Version:
Severity: normal Keywords:
Cc:

Description

Currently we do not differentiate between categories and tags, and we combine them if a post has the same term in both taxonomies.

<category scheme="http://myblog.com" term="Cats" />
<category scheme="http://myblog.com" term="Dogs" />

Attached patch adds support for permastruct-based category schema, uses term->slug for term and term->name for label.

This way, you can construct the category/tag URL from the scheme+term. Here is sample output:

<category scheme="http://myblog.com/category/" term="cats" label="Cats" />
<category scheme="http://myblog.com/category/" term="dogs" label="Dogs" />
<category scheme="http://myblog.com/tag/" term="dogs" label="Dogs" />

Support for custom taxonomies remains a problem for plugins to solve.

Attachments

atom-categories.diff Download (2.9 KB) - added by andy 3 years ago.

Change History

andy3 years ago

  • Milestone changed from Unassigned to 2.8
  • Keywords has-patch needs-testing added

#8828 attempts to fix the same issue.

  • Keywords needs-patch added; has-patch removed
  • Milestone changed from 2.8 to Future Release

broken patch

  • Keywords needs-testing removed
  • Keywords needs-patch removed
  • Status changed from new to closed
  • Resolution set to duplicate
  • Milestone Future Release deleted

Closing this as the duplicate of #8828.

Note: See TracTickets for help on using tickets.