[ php-blog-Feature Requests-1461015 ] Cronjob schedling of Trackbacks

"SourceForge.net" <[email protected]>
Newsgroups gmane.comp.serendipity.trackers
Message-ID <[email protected]>
Feature Requests item #1461015, was opened at 2006-03-29 18:00
Message generated for change (Comment added) made by jgoerzen
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=542825&aid=1461015&group_id=75065

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Administrative functions
Group: None
Status: Open
Priority: 3
Submitted By: John Goerzen (jgoerzen)
Assigned to: Nobody/Anonymous (nobody)
Summary: Cronjob schedling of Trackbacks

Initial Comment:
Serendipity has a nice "show future entries"
configuration option.  I set that to "no", which I
assumed meant that nothing would happen if I "posted"
an entry with a time in the future.

Unfortunately, that is not really accurate. 
Serendipity went ahead and sent trackbacks, pingbacks,
etc. immediately.  The list of tags on the front page
included ones the new post, even though it wasn't
possible to display the new post yet.  Things got,
well, confusing for a visitor.

It would be nice to be able to schedule an item to post
at some future time.  Presumably the item would stay as
draft until then.  When the future time arrives, the
item would automatically flip from draft to posted. 
Trackbacks, pingbacks, etc. would then be sent at that
point (not when the article was first saved).  I think
it would be a cleaner solution.



----------------------------------------------------------------------

>Comment By: John Goerzen (jgoerzen)
Date: 2006-03-30 10:23

Message:
Logged In: YES 
user_id=491567

FWIW, drupal gets around this in this fashion:

It has a script out there named cron.php that executes all
the periodic items.  The admin can set up a cronjob to use
wget or curl in quiet mode to hit that script at set
intervals.  It seems to work very well, and perhaps
something like that could work for Serendipity.

----------------------------------------------------------------------

Comment By: Garvin Hicking (garvinhicking)
Date: 2006-03-30 04:37

Message:
Logged In: YES 
user_id=473563

A scheduler for trackbacks would be nice, but is hard to
achieve without cronjob functionality, because you'd need
some "event" activate sending a trackback, as PHP can only
run when being invoked by a visitor or a cronjob. This is
beyond my personal scope of feature implementation - I
usually recommend people to install the manual trackback
control item, disable trackbacks for entries in the future
and then edit an entry to send trackbacks when it's live. I
know its manual, but doing this automatic involves all sort
of pain emulating cronjobs. Look at wordpress to see how
buggy this can get. :-D

About the draft-publish flipping, you have the same problem.
Let's say you run a blog with not many visitors - how would
you make sure that an item gets published at 13:00, and not
only at 19:00 when the first visitor hits your blog?

About the tags, it seems that the Freetag plugin is not
honouring the "draft" flag of entries. I just fixed that in
the new version ofht eplugin. CSV on SF.Net seems to be down
right now, but I'll commit it later.

Regards,
Garvin

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=542825&aid=1461015&group_id=75065


-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.