I think this is related to a cron & rights issue. I've created a special input format for feed items called "formatted-feeds" and set it available to admins. Then I set up all feeds to use this input filter. As long as I ran cron manually (while logged in as admin), everything worked properly and all feed items used this filter.

However, after setting up cron on my site, all feeds started coming in as "filtered-html."

I believe this is related to rights. Since cron on a site provider will be accessing cron.php as "anonymous" any input filter OTHER than the default "filtered-html" will be disallowed.

Ideally, this should be fixed in simplefeed, however, I'm hoping the following fix will solve the problem in the meantime:

I'm giving anonymous users rights to the "filtered-feeds" filter. Since they can't post or edit anything, they should never see this filter anyway. (we'll have to wait for a new feed to come in to see if this works)

Comments

zoon_unit’s picture

Success!

The prior fix does indeed work. The input filter inheritance problem will also occur for anyone wanting to use "full-html" as an input filter. So just make sure and give "anonymous" rights to the input filter you wish to use.

Hopefully, this issue will be solved in the next version of Simplefeed, so that workarounds are not necessary. :-) If this is a trickier fix than I imagine, then I suggest you add this workaround to the readme.txt file. This is one of those insidious bugs that can drive a developer crazy. :-)

eyals’s picture

How do I do that?
Where are those filters located?
Are you referring to files or some administration settings?

eyals’s picture

Oh. Found it:
Admin > Site Configuration > Input Formats

m3avrck’s picture

Status: Active » Fixed

Thanks this is now documented in the README too.

Anonymous’s picture

Status: Fixed » Closed (fixed)