I re-wrote a hack to post directly from FeedDemon to WordPress and or b2/cafelog. For this you would have to be logged into your blog admin portion (a previous login with the cookie set will do just fine).
Here is the hack.
Check out the other Blog Tools, Hacks and Cool scripts on this blog to make yours better and more fun!
Could you please update this hack to WordPress 1.2 Mingus? Please? 😉
I will look into that this weekend.
Ah, thanks! 🙂
We are eagerly awaiting your statement, oh master! 😉 😀
Pleeeeeeeease! 😉
acesta este un testa 2-a liniea 3-a liniavreau sa vad daca merge numai
Hi,
I am using WordPress 1.0.1, but there is no b2edit.php
Where am I supposed to apply the hack?
Please let me know.
Thanks a lot in advance.
Dario
Look for post.php inside your wp-admin folder. Also, I have heard that this hack does not work in FeedDemon 1.0. You could try it anyways.
I tried this hack with wp 1.0.2, but it didn’t work right. i had the same problem as with wp-mail.php : the category couldn’t be updated in table wp_post2cat.
i postet my solution regarding wp-mail.php here
looking at your hack, i realized that the code-part for updating
table wp_post2cat was missing in your new case ‘postbyfeeddemon’.
solution: insert this part (or copy it from case ‘post’):
if (!$post_categories) $post_categories[] = 1;
foreach ($post_categories as $post_category) {
// Double check it's not there already
$exists = $wpdb->get_row("SELECT * FROM $tablepost2cat WHERE post_id = $post_ID AND category_id = $post_category");
if (!$exists && $result) {
$wpdb->query("
INSERT INTO $tablepost2cat
(post_id, category_id)
VALUES
($post_ID, $post_category)
");
}
}
between this line:
$post_ID = $wpdb->get_var("SELECT ID FROM $tableposts ORDER BY ID DESC LIMIT 1");
and this line:
if (isset($sleep_after_edit) && $sleep_after_edit > 0) {
and table wp_post2cat will be updatet on rss-posts.