Script Request - URL Cleanser.
Posted: 17 Sep 2010 23:41
Can someone please help me building this?
This:
should output like this:
-some of the source links have a single asterisk as indicator of the target link:
-the links are stored on a series of .txt files, so each selected file should produce a fixed, cleaned clone file with a proper identifier (whatever, something like "_CLEANurl".
-such links are listed with separators, and they should be reproduced in the clone files - or at least changed by something under the similar role of a separator.
This:
Code: Select all
http://us.lrd.yahoo.com/_ylc=X3oDMTJkMXBsaTczBF9TAzM5ODMzNjk2NwRnc3RhdGUDMwRwb3MDMwRzZWMDbndfdG9wc3RvcmllcwRzbGsDdGl0bGUEdGFyA2NhLm5ld3MueWFob28uY29t/SIG=154hfgagv/**http%3A//ca.rd.yahoo.com/dailynews/rss/20100721-obama_signs_sweeping/**http%3A//ca.news.yahoo.com/s/reuters/100721/n_top_news/cnews_us_financial_regulation_obama
Code: Select all
http://ca.news.yahoo.com/s/reuters/100721/n_top_news/cnews_us_financial_regulation_obamaCode: Select all
...obama_signs_sweeping/*http%3A//ca.news.yahoo.com/s/reuters/100721/n_top_news/cnews_us_financial_regulation_obama-such links are listed with separators, and they should be reproduced in the clone files - or at least changed by something under the similar role of a separator.
or
must output at least with
Thanks in advance!