mrloudcry 0 Posted February 24, 2016 Report Share Posted February 24, 2016 (edited) I am creating a post from an RSS Feed... The RSS Feed generates extra tracking information at the end of the URL. I am trying to REMOVE that tracking information from the URL. The URL is stored in a list %thePost, therefore it seemed logical to use the remove text from list command. Unfortunately it doesnt seem to work. From the UBot Studio wiki page it would seem that the remove text from list will only work if it is asked to remove the ENTIRE item from the list. Below is the full URL that the RSS Feed generated... http://www.unmarketing.com/2016/02/17/110-the-awkward-interview-episode/?utm_source=feedburner&utm_medium=feed&utm_campaign=Feed:+unmarketing+(UnMarketing)I tried to remove the extra tracking portion of the URL like this.... remove text from list(%thePost,"/?utm_source=feedburner&utm_medium=feed&utm_campaign=Feed:+unmarketing+(UnMarketing)and I also tried.... remove text from list(%thePost,"/?utm_source=feedburner&utm_medium=feed&utm_campaign=Feed%3A+unmarketing+%28UnMarketing%29","All")The second attempt is derived from the way the URL looks inside the debugger. What command would I use to successfully remove ONLY the tracking portion of the scraped URL, that is stored in my list? Id like the end result to look like this: http://www.unmarketing.com/2016/02/17/110-the-awkward-interview-episode Edited February 24, 2016 by mrloudcry Quote Link to post Share on other sites
Pete 121 Posted February 24, 2016 Report Share Posted February 24, 2016 navigate($find regular expression($next list item(%thePost),".*?(?=\\?utm_source)"),"Wait") Quote Link to post Share on other sites
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.