• Resolved thephpoldbie

    (@thephpoldbie)


    Someone help me please?

    This aLinks plugin seems to be the answer to my prayers, but the problem is, it doesn’t work with posts generated by FeedWordPress. After some peeking into the database the most I could figure out is the fact that FeedWordPress generates extra values in the postmeta table in addition to a post & deleting these values for a given post (ID) allows aLinks to do it’s job of automatically links any matching keywords within that given post.

    Unfortunately with (a) me having thousands of posts generated by FeedWordPress in my aggregator and most importantly (b) me needing that information for each given post (or else, missing information like the original link back to source site would send me to splog status) that is not an option. The aLinks authors isn’t addressing this anytime soon it seems and I can’t figure anything out reading the code of their plugin (or FeedWordPress).

    So now I’m stuck and needing both of these plugins to play well together. If anyone have any answers or ideas please posts them up. Thanks 🙁

Viewing 2 replies - 1 through 2 (of 2 total)
  • This conflict happens because FeedWordPress is currently set up to bypass formatting plugins, such as Markdown or WordPress’s built in formatter, since the stuff coming in over a feed is presumably already HTML in its final form, and shouldn’t be run back through preprocessors.

    Unfortunately, there’s not yet any way to turn this behavior off without directly hacking feedwordpress.php. I do intend to include an option in the interface for the next public release of FeedWordPress (0.993, currently under development) which will turn it off. In the meantime, though, you can effect the same result by opening up feedwordpress.php in your favorite text editor, and finding the following two lines of code (they are near the top of the file, immediately under a large comment block):

    add_filter(‘the_content’, ‘feedwordpress_preserve_syndicated_content’, -10000);
    add_filter(‘the_content’, ‘feedwordpress_restore_syndicated_content’, 10000);

    Delete these two lines, save feedwordpress.php, and (if necessary) re-upload your edited copy to your WordPress plugins directory. Once you have made the edit, aLinks and FeedWordPress should co-operate just fine.

    Let me know whether this works for what you need.

    Thread Starter thephpoldbie

    (@thephpoldbie)

    Heh,

    Asked this again in your forum before checking back on this… commented out those two lines of code and seems like it did the trick!! 😀

    Thanks a million, and once again your plugin is greatness!! 😀

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

The topic ‘alinks and FeedWordPress problems… HELP PLEASE?’ is closed to new replies.