10/30/2003 ↓

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!

1 Star2 Stars3 Stars4 Stars5 Stars (No Ratings Yet)
Loading ... Loading ...

Visitors who read this post, also read:

Friends

Translate

Translate to German Translate to Spanish Translate to French Translate to Italian Translate to Portuguese Translate to Japanese Translate to Korean Translate to Russian Translate to Chinese

Latest Videos

9 Comments | Leave a comment | Comments RSS

  1. 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 pm
  2. 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.

    [Reply]

    Mark (14 comments.) — 02/1/2004 @ 9:54 am
  3. 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.

    [Reply]

    honfrek — 03/26/2004 @ 8:39 am
  4. Could you please update this hack to WordPress 1.2 Mingus? Please? ;-)

    [Reply]

    David Blangstrup — 06/25/2004 @ 5:20 pm
  5. I will look into that this weekend.

    [Reply]

    Mark — 06/25/2004 @ 6:30 pm
  6. Ah, thanks! :-)

    [Reply]

    David Blangstrup — 06/26/2004 @ 3:23 am
  7. We are eagerly awaiting your statement, oh master! ;-) :D

    [Reply]

    David Blangstrup — 06/28/2004 @ 4:56 am
  8. Pleeeeeeeease! ;-)

    [Reply]

    David Blangstrup — 07/1/2004 @ 1:48 pm
  9. acesta este un testa 2-a liniea 3-a liniavreau sa vad daca merge numai

    [Reply]

    numele (1 comments.) — 12/27/2004 @ 10:25 pm

Leave a comment

Line and paragraph breaks automatic, e-mail address never displayed, HTML allowed: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

(required)

(required, will not be published)


S2