automatically embed full content in Article-Window

Development-related discussion, including bundled plugins
macfly
Bear Rating Disaster
Bear Rating Disaster
Posts: 82
Joined: 27 Mar 2013, 23:07

automatically embed full content in Article-Window

Postby macfly » 04 Apr 2013, 02:22

Hi,

i'm trying to modify the plugin "af_unburn" to embed the full content of an article content into the article-window.

so long, i hooked it into "HOOK_RENDER_ARTICLE_CDM" and generally, this works, but:
it fetches the fulltext-urls, whenever i click on a feed to get the article-summaries. I think, this would be the wrong way, but i have no idea, how to fetch the full content, whenever one switches to a new article.

maybe, the correct way would be to modify "embed_original" (and use javascript to fetch the contents), but i have no idea, how to fire the "embedOriginalArticle" function from "embed_original" automatically (and step 2 would be: configured on a per-feed-setting).

any ideas or hints?

thank you,
macfly

smeerbartje
Bear Rating Disaster
Bear Rating Disaster
Posts: 67
Joined: 04 Apr 2013, 23:24
Contact:

Re: automatically embed full content in Article-Window

Postby smeerbartje » 06 Apr 2013, 12:57

Would love this; any progression?

macfly
Bear Rating Disaster
Bear Rating Disaster
Posts: 82
Joined: 27 Mar 2013, 23:07

Re: automatically embed full content in Article-Window

Postby macfly » 07 Apr 2013, 00:21

sorry, no. I have no idea how to hook the rendering.

macfly
Bear Rating Disaster
Bear Rating Disaster
Posts: 82
Joined: 27 Mar 2013, 23:07

Re: automatically embed full content in Article-Window

Postby macfly » 09 Apr 2013, 18:13

hi,

i identified the correct place to hook up. Right now i'm fiddleing with the configuration (how to configure only one rss url to be displayed with fulltext, not all). Will keep you updated.

regards,
macfly

smeerbartje
Bear Rating Disaster
Bear Rating Disaster
Posts: 67
Joined: 04 Apr 2013, 23:24
Contact:

Re: automatically embed full content in Article-Window

Postby smeerbartje » 09 Apr 2013, 19:34

Cool, really cool!!!

macfly
Bear Rating Disaster
Bear Rating Disaster
Posts: 82
Joined: 27 Mar 2013, 23:07

Re: automatically embed full content in Article-Window

Postby macfly » 12 Apr 2013, 19:59

plugin is finished (first try), pull request under https://github.com/gothfox/Tiny-Tiny-RSS/pull/149

macfly
Bear Rating Disaster
Bear Rating Disaster
Posts: 82
Joined: 27 Mar 2013, 23:07

Re: automatically embed full content in Article-Window

Postby macfly » 21 Apr 2013, 00:14

new Version here


Return to “Development”

Who is online

Users browsing this forum: No registered users and 3 guests