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

Automated autoblog title (yahoo pipes and yahoo news)

Discussion in 'Blogging' started by reinie, Nov 24, 2010.

  1. reinie

    reinie Elite Member

    Joined:
    Jan 16, 2009
    Messages:
    1,574
    Likes Received:
    1,040
    Hi Guys
    I have come accross an issue and was wondering if someone on here can help me out.

    My autoblog uses yahoo pipes to take the RSS from yahoo News and transform it into a blog post.

    Everytime a post is made, it grabs the source with it and posts it as part of the title,which means the source ends up in my url like this:

    In this case: NEWSFACTOR

    http://www.mysite.com/attachmate-purchase-Novell-newsfactor

    and my post title ends up being:


    Attachmate purchase Novell (newsfactor)

    Can anyone guide me on how to delete the newsfactor automatically or have the pipe eliminate it?

    Thanks for the help, rep will be given for assistance.
     
  2. reinie

    reinie Elite Member

    Joined:
    Jan 16, 2009
    Messages:
    1,574
    Likes Received:
    1,040
    I gues my question is, can anyone guide me on how to use regex to filter out (this)
     
  3. finerpleasure

    finerpleasure Newbie

    Joined:
    Jul 6, 2010
    Messages:
    43
    Likes Received:
    2
    Like he said you can use regex, to elimnate this problem. Or you can got back and search your pipe thier may be something you overlooked .

    I suggest you scrape it from the source using the fetch page module.

    i do not know regex! When something happens on ypipes i cant fix i usually search the pipes directory for a solution.

    90 percent of the time someone has already done what you are trying to do.
     
  4. reinie

    reinie Elite Member

    Joined:
    Jan 16, 2009
    Messages:
    1,574
    Likes Received:
    1,040
    Yes I hear you, I have searched all day yesterday and could not figure it out... :-(

    1.I am trying to delete the source out of my feed title in yahoo pipes, can anyone please help me do so? It apears in brackets as (source)

    2.Also, I want to remove single character from the title like "-"
     
  5. MisterTwister

    MisterTwister Regular Member

    Joined:
    Feb 12, 2009
    Messages:
    458
    Likes Received:
    160
    Not sure if this is what you are looking for but adding the following code in Regex removes all links etc.

    Code:
     <[/\]?[a]\s+[^>]*>
    
     
  6. reinie

    reinie Elite Member

    Joined:
    Jan 16, 2009
    Messages:
    1,574
    Likes Received:
    1,040
    Hey misterTwister
    Thanks but I have already remoed the links...
    1: Now I am trying to remove the source that shows up in my title. It shows uo between brackets (like this)
    2: And I also want to remove a single character from my entire title "-"
     
  7. siniy

    siniy Registered Member

    Joined:
    Sep 5, 2009
    Messages:
    53
    Likes Received:
    16
    The regex will be \(.*
    It will replace everything after "(" character. To replace "-" just enter as it is "-". If you need more help contact me in skype. I worked with pipes myself.
     
    • Thanks Thanks x 1
  8. reinie

    reinie Elite Member

    Joined:
    Jan 16, 2009
    Messages:
    1,574
    Likes Received:
    1,040
    awesome man, thanks, what is your skype?