Question

How do I remove unwanted tags from Google Alert RSS URLs for LinkedIn?

  • 9 January 2024
  • 3 replies
  • 59 views

I have an RSS feed from a google alert that lists URLs of interesting posts I want to post to a LinkedIn page..

 

The RSS feed prepends and appends elements to the actual URL of the article found.

Here is an example of the URLs in the RSS feed item link:

https://www.google.com/url?rct=j&sa=t&url=https://uk.news.yahoo.com/sony-drive-electric-car-using-122631827.html&ct=ga&cd=CAIyHDNhNjhjNTg3NzhjZWM2NjI6Y29tOmVuOkdCOlI&usg=AOvVaw3Y112e8T6E2w9ERxzkXL-h

 

I need to remove the prepended data which is this part https://www.google.com/url?rct=j&sa=t&url=

And to remove the appended data which is this part and anything following &ct=ga&cd=

which is a random unique string of letters and numbers &ct=ga&cd=

 

so I want to be left with the bare URL of the post…

which in the above example would be the part

 

https://uk.news.yahoo.com/sony-drive-electric-car-using-122631827.html

 

Then the Zap post that to a new page post on LinkedIn with the Title and Description from the post.

How can I extract the URL in the RSS, tried using regex and format changer but its not working...


This post has been closed for comments. Please create a new post if you need help or have a question about this topic.

3 replies

Userlevel 7
Badge +14

Hi @devsterp 

Try using Formatter > Text > Replace steps in the Zap.

https://zapier.com/apps/formatter/help

@Troy Tessalone done that in several different attempts, just not posting the data correctly…..

Userlevel 7
Badge +14

@devsterp 

We would need to see detailed screenshots with how your Zap steps are outlined and configured for us to have full context.