Skip to content

WordpressParser fails to identify tags #3

Description

@kingjon3377

The WordpressParser class looks through the potential categories on each post, and treats those with a taxonomy URI (domain in the XML) of category as categories, treats those with a taxonomy URI of tag as tags, and discards the rest. However, in a Wordpress export (at least from wordpress.com today), tags on posts are identified with the domain of post_tag: <category domain="post_tag" nicename="books"><![CDATA[books]]></category>. To get the parser to recognize tags, I had to preprocess the input to replace "post_tag" with "tag".

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions