Post to WordPress or b2 from FeedDemon
If you like this post, please subscribe to our RSS feed to read our new posts every day.
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!













Comments RSS
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
[Reply]
dario (2 comments.) — 01/31/2004 @ 5:52 pmLook 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.
[Reply]
Mark (14 comments.) — 02/1/2004 @ 9:54 amI 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.
[Reply]
honfrek — 03/26/2004 @ 8:39 amCould you please update this hack to WordPress 1.2 Mingus? Please?
[Reply]
David Blangstrup — 06/25/2004 @ 5:20 pmI will look into that this weekend.
[Reply]
Mark — 06/25/2004 @ 6:30 pmAh, thanks!
[Reply]
David Blangstrup — 06/26/2004 @ 3:23 amWe are eagerly awaiting your statement, oh master!

[Reply]
David Blangstrup — 06/28/2004 @ 4:56 amPleeeeeeeease!
[Reply]
David Blangstrup — 07/1/2004 @ 1:48 pmacesta este un testa 2-a liniea 3-a liniavreau sa vad daca merge numai
[Reply]
numele (1 comments.) — 12/27/2004 @ 10:25 pm