Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Output formatting #11

Open
beporter opened this issue Jan 2, 2015 · 1 comment
Open

Output formatting #11

beporter opened this issue Jan 2, 2015 · 1 comment

Comments

@beporter
Copy link

beporter commented Jan 2, 2015

One thing that seems to be missing from gofeed when compared to Feed43 is the ability to format the resulting RSS tags (title, link, description) with your own HTML. It would be great if you could compose your <description> output to include more than just what was matched from the source HTML file.

Here's a screenshot of Feed43's editing page for reference. In this example, {%1}, {%2} and {%3} represent content captured from the source page that is being injected into the resulting RSS xml fields, allowing you to control the format of the feed's content. I feel like the same thing could be done in gofeed using arbitrary {token_name}s instead of the fixed {title}, {link} and {description} shortcuts. Additional configs would be needed for Item.TitleFormat, Item.LinkFormat and Item.DescriptionFormat (or similar.)

feed43_output_formatting_example

Please consider this as a humble feature request. And forgive me if this is somehow already possible and I'm just reading the docs/code incorrectly. Thank you.

@mawenbao
Copy link
Owner

mawenbao commented Jan 4, 2015

Thank you for your advice and support. I will look into this when I am not busy.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants