Skip to content

Add support for allowing namespace prefixes in rule definitions #10

@ghost

Description

UNDER CONSIDERATION

Given a header of:

considering allowing the use of prefixes in the rule definitions. So a change from something like:
/rss/channel/[http://search.yahoo.com/mrss/]thumbnail/url

to:
/rss/channel/[media]thumbnail/url

PROBLEM

SJXP has always tried to stay away from allowing prefixes because they are not guarunteed to be static. You could write a parser that always parses "[media]/thumbnail/url" and half the feeds you try and parse map the Yahoo Media URI to the prefix "m" instead of "media".

In all these cases, the parse you write with SJXP will silently fail and you'll have no idea why. Unfortunately there is no way for SJXP to know how to map the prefix you have in your url to a redefined name in the XML source.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions