Page 1 of 1

How to add per-feed-settings without patching

Posted: 17 Apr 2013, 19:07
by macfly
Hi,

i'm on reworking my initial plugin auto_embed_original.

I need to configure on a per-feed-base if a feed should be displayed with it's rss-content, with it's article-content as an iframe or with it's article-content as cleaned output as an iframe. I already did this by patching classes/pref/feeds.php (see attached screenshot).

Right now, i'm trying to do this from the plugin dynamically, but none of the hooks seems to do what i want. HOOK_PREFS_TABS generates a new tab, HOOK_PREFS_TAB generates a new row.

So, how can i add new inputfields to editfeed(), editfeeds() and editsaveops() ?

Any hints?

thanks for reading,
macfly.

Re: How to add per-feed-settings without patching

Posted: 17 Apr 2013, 19:11
by fox
So far, you can't. I'll need to add a hook for that later.

Re: How to add per-feed-settings without patching

Posted: 17 Apr 2013, 23:26
by macfly
that would be very cool. The other stuff needed for my plugin (get called at cdmExpandArticle) is now implemented in plugin-javascript.

I'll read the commit-hostory daily :-)