#147 new
KBruno

Forcefetch vs cron vs no cron

Reported by KBruno | November 4th, 2008 @ 01:18 PM

I started a new ticket for this since it wasn't being responded to in #74

Hey Giillermo, First, I've got over 400 campaigns working beautifully on a single site with 2 minor fixes for using feed date & stopping runaway duplicate posts. That is except for certain html tags being stripped.

As others, using the forcefetch displays posts with the embed, param or object tags intact. Not so otherwise. You said "Cron behaves almost exactly like forcefetch does..." Can you expand on what "almost" means?

Can you also explain how the thing works when the cron isn't being used at all? What I mean is: I don't have a unix cron set for wpomatic & I don't run the cron URL directly but the campaigns are processed in perfect time with the Frequency set in the options. What's that about? The logs don't show that cron.php has run at all & I rarely forcefetch 1 or 2 campaigns & yet over 400 campaigns continue to be processed & updated.

The reason I wonder about this is that I've gone so far as to remove the embed, param or object tags from both simplepie.class.php in wpomatic and simplepie.inc in simplepie-core in an attempt to get this resolved. So where does wpomatic process the feeds without cron.php being run & how does it strip tags that aren't in the strip_htmltags array?

Any help would be huge.

Comments and changes to this ticket

  • cricketsoda

    cricketsoda November 5th, 2008 @ 05:39 PM

    Hello. How did you go about fixing the run away duplicate post fetching? I have the same problem and would love to fix it.

  • KBruno

    KBruno November 5th, 2008 @ 06:26 PM

    cricketsoda, This is not fix for whatever it is in wp-o-matic that causes this to happen (I haven't found anything that even claims to have an answer to exactly why this happens), but it will stop it from happening.

    In /wp-includes/post.php there are 2 places you'll find "$suffix = 2;". Replace both with "return 0;". That only looks at the post_name (Title) and nothing else so it won't help with morphing feeds or the like. It will also work on all posts and not just on wp-o-matic imports. I do know if you manually write a post with the same title as a previous post it'll go into Drafts until you change the title in some way but I think imports just get tossed. I know I lose a few updates on some feeds but that's well worth not having to delete all the duplicates and not having the server all but shut down once in awhile.

    Hope that works for you. :-)

  • Ricardo Rauch

    Ricardo Rauch April 15th, 2010 @ 08:50 AM

    • Assigned user changed from “Guillermo Rauch” to “Ricardo Rauch”
  • jameslucas12a

    jameslucas12a June 16th, 2023 @ 08:49 AM

    The tank size of an air compressor determines how much compressed air it can store. A larger tank means that the compressor can deliver air for a longer period of time before needing to recharge. https://youraircompressor.com/best-air-compressor-for-off-roading/

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

WP-o-Matic project.

Pages