1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

WP-Robot Author and RSS Hacks Help

Discussion in 'Blogging' started by uSearchIt.com, Mar 5, 2010.

  1. uSearchIt.com

    uSearchIt.com Newbie

    Joined:
    Jan 27, 2009
    Messages:
    27
    Likes Received:
    7
    I installed wprobot on a couple blogs. It is a good piece of software for autoblogging but has a few limitations. I am trying to figure out how to get past those limitations so I dont have to spend so much time updating authors, changing categories, and removing annoying js and script errors from the posts.

    First Issue:
    -------------------------------
    I added the code that will assign random authors and hacked it a little to make sure the author being assigned has the same email address as the blog. It doesnt seem to work consistently though.

    I think I could get the author issue fixed by looking for the role of the potential author rather than the email. How do I read this from the db? The email was easy, 'FROM $wpdb->users WHERE user_url like '%xxxxxx.com%''
    -------------------------------

    Second Issue:
    -------------------------------
    I am using RSS feeds to collect some of the content. It looks like the feeds that come from FeedBurner include ad tags that then get transferred with the post. Other feeds end up coming with annoying js, permalink, or embedded tag information. Many times it is pretty consistent so could be stripped when the feed is collected.

    Any ideas on how to build in something into wprobot that would strip the js or specific information from a post/rss before posting to my site?
    -------------------------------

    Third Issue:
    -------------------------------
    Categorization... I like that when I pull in an RSS feed I can have it auto-categorize but it doesnt work for the Keyword settings. Currently I have been using FireFox with the iMacros plugin to script a number of macros to do this for me. It isnt too bad but I still have to manually go launch FF and run the scripts.

    Is there any way to auto-categorize? Maybe another WP add-on or something?
    -------------------------------
     
    • Thanks Thanks x 1
  2. adbox

    adbox Power Member

    Joined:
    May 1, 2009
    Messages:
    658
    Likes Received:
    107
    Home Page:
    You could explode the content $content = explode("Tags:", $content); and then assign it back $content = $content[0]; to kick out the tags.
     
    • Thanks Thanks x 1
  3. nahi_sonu

    nahi_sonu Registered Member

    Joined:
    Nov 9, 2009
    Messages:
    83
    Likes Received:
    198
    finally some post discussing wprobot internal coding function..
    im pretty concerned about its tagging system...
    when we use wprobot and enable its auto tag system.. it just take the title and replaces space with comma separation to make them as tags which are totally useless and meaning less.. is there any other way to get this right?
    or maybe use the full title as tag?
     
  4. adbox

    adbox Power Member

    Joined:
    May 1, 2009
    Messages:
    658
    Likes Received:
    107
    Home Page:
    You know I'll just promote my own platform BlogSense, which gives the option to use a predesigned tagbase, or even what is already in the wp tag base, selecting randomly from the lot, and randomizing the number of tags used between a min and max number defined during setup.

    And also has title option, but I used str_replace functions to clean out not so good nouns and other filler words.

    Other than that what really could you do? You could search the text for repeating words that are larger than say 5 characters, and any that makes it passed 2 instances becomes a tag
     
  5. uSearchIt.com

    uSearchIt.com Newbie

    Joined:
    Jan 27, 2009
    Messages:
    27
    Likes Received:
    7
    I like the idea of looking for repeating words over 5 chars becoming a tag.

    The tag piece I am not too concerned about because you could essentially turn tags into the word cloud for nav. In theory tags + word cloud = general interest/browsing of the site.

    The categories are a different story though. Categories should be more like an index. Larger, more specific words, that help a visitor to find content of interest within your site.

    I think about my own browsing activities and find categories to be pretty useful. Tag cloud somewhat useful.

    Also, for the tag could I just did a search for noise words and imported that list into my filter list. Over time I am adding to that list to make sure crap doesnt show up as often.

    If anyone is interested I have attached the word filter list and wp author hack. For the wp author hack just look in the general.php file of wprobot and go to line 107'ish. You should see global $wpdb; and some author stuff. Look at the attached script and drop it in, over writing the existing section. Of course make sure you back up first in case something goes awry.

    If anyone could re-write the author script a little to look at the users role that would be great. :)
     

    Attached Files:

    • Thanks Thanks x 1
  6. john0563

    john0563 Newbie

    Joined:
    Jun 11, 2010
    Messages:
    1
    Likes Received:
    0
    Thank you for these hacks, only WPRobot3 does not seem to have a general.php file... I can't find where to implement your author hack.

    I'm trying to have the posts created by WPRobot use random blog users as the author instead of the same author for each post....

    Any suggestions?