Tags and Categories are undifferentiable in Atom and RSS feeds
|Reported by:||znarfor||Owned by:|
|Component:||Feeds||Keywords:||has-patch needs-review needs-refresh|
In RSS feeds this can be achieved using the 'domain' attributes of the category element. This is already done in Wordpress export through the wxr_post_taxonomy function, so we just have to do the same in RSS feeds.
In Atom feeds this can be achieved using the 'scheme' attributes of the category element. The Atom standard is not explicit about what to put in this scheme attributes. There is an interesting topic on Edward O’Connor blog. In my proposed patch, i decided to use the 1st representation and i also considered seriously the 2nd.
In the patch, i'm also adding the 'label' attribute to the atom category element and changed the 'term' attribute to be the tag slug. Seems this are currently the best practices in the Atom community.
Change History (10)
- Keywords needs-patch added; has-patch removed
- Milestone changed from 2.8 to Future Release
- Component changed from General to Feeds
- Owner anonymous deleted
- Cc znarf@… added
- Keywords has-patch needs-review added
- Milestone changed from Future Release to 2.9