• Resolved SkullyFM

    (@skullyfm)


    Hi Bas,

    I was playing with FeedWordPress and your add-on and came across a feed which doesn’t include any image in the description but does include one in the enclosure field: http://www.gamekult.com/feeds/actu.html
    Unfortunately it looks like your add-on doesn’t look into that field which means no image is detected for those items to set a ‘featured image’ in the post for instance.
    Do you think it’s something you could support if it’s not too complicated?
    Any way, many thanks for all the existing features so far !

    http://ww.wp.xz.cn/extend/plugins/faf/

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Bas Schuiling

    (@basszje)

    Hi,

    Good point! I will look into how I can incorporate this. If Feedwordpress loads enclosures in the meta-field I won’t be very hard to do this.

    Thanks for remarking!

    Plugin Author Bas Schuiling

    (@basszje)

    In the most recent development version it will take Enclosure images into account and save them locally. You can test it out if you want by downloading the trunk .

    It will come with next version but that might take a while still.

    Thread Starter SkullyFM

    (@skullyfm)

    Thanks Bas! I’ll download the trunk and let you know.

    Btw, I did work on a little filter in order to be able to remove HTML or text based on a regular expression you can pass as a parameter. You can find it here: https://github.com/SkullyFM/faf-regexp
    Feel free to add it in a next version if you think it’s good enough…

    Best,
    Franck

    Plugin Author Bas Schuiling

    (@basszje)

    I’m curious if it all works now, then I can release it into an official version.

    About the regexp, it’s very cool. Actually it’s how this plugin started but I removed it since it’s not very user-friendly ( if you aren’t an expert that is ). I’m scheming though on adding more filters to the plugin without it becoming a mess of options and things most people don’t need (maybe I will make something like an installer for other people’s plugins). Maybe I should put this function in the regular remove keyword filter ( or allow for it ). Difficult, difficult…

    Thread Starter SkullyFM

    (@skullyfm)

    I played with it on a couple of feeds and it seems to work perfectly. It’s also nice that the enclosed image is considered as the #1 🙂

    For the regexp filter I did it in a standalone file because I wanted to be able to carry it over after updates but I agree if it could be integrated at a higher level it might be easier.
    Anyway, at the moment I’ll keep it on my instance because it makes it easy to remove for instance ads while keeping the rest of the html structure intact (especially <a> tags)

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Image filter doesn't take enclosures’ is closed to new replies.