• I’m looking for a way to get the Livejournal Crossposter to send the Ultimate Tag Warrior generated tags to LJ, rather than pulling the categories to use as tags.

    I e-mailed the author of the LJ Crossposter, but as he is busy he was only able to give me the following code (provided by a third party) to work with:
    [code]
    // ******** <TAGS CODE>

    // this should be an option at some point, for now i set it to 1
    $utw_enabled = 1;

    if($utw_enabled){
    // get the post tags
    $tags = $utw->GetTagsForPost($post_id);

    // we get a table of objects, let's make an array of strings
    $alltags = array();
    if ($tags) {
    foreach($tags as $tag) {
    $alltags[] = $tag->tag;
    }
    }

    // and break it into a comma-seperated list
    $tags_string = implode(", ", $alltags);
    }
    // ********* </TAGS CODE>

    then i do $args[props][taglist] = $tags_string; , because i don't use Categories at all
    [/code]
    I myself am not too good with tinkering with PHP, beyond little things, and am not sure how to integrate this bit of coding into the LJ Crossposter.

    Suggestions?

  • The topic ‘LJ crossposter Ultimate Tag Warrior?’ is closed to new replies.