Page 1 of 1

automatically embed full content in Article-Window

Posted: 04 Apr 2013, 02:22
by macfly
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

Re: automatically embed full content in Article-Window

Posted: 06 Apr 2013, 12:57
by smeerbartje
Would love this; any progression?

Re: automatically embed full content in Article-Window

Posted: 07 Apr 2013, 00:21
by macfly
sorry, no. I have no idea how to hook the rendering.

Re: automatically embed full content in Article-Window

Posted: 09 Apr 2013, 18:13
by macfly
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

Re: automatically embed full content in Article-Window

Posted: 09 Apr 2013, 19:34
by smeerbartje
Cool, really cool!!!

Re: automatically embed full content in Article-Window

Posted: 12 Apr 2013, 19:59
by macfly
plugin is finished (first try), pull request under https://github.com/gothfox/Tiny-Tiny-RSS/pull/149

Re: automatically embed full content in Article-Window

Posted: 21 Apr 2013, 00:14
by macfly
new Version here