View Single Post
Old 07-22-2010, 01:03 AM   #2335
rty
Zealot
rty got an A in P-Chem.rty got an A in P-Chem.rty got an A in P-Chem.rty got an A in P-Chem.rty got an A in P-Chem.rty got an A in P-Chem.rty got an A in P-Chem.rty got an A in P-Chem.rty got an A in P-Chem.rty got an A in P-Chem.rty got an A in P-Chem.
 
Posts: 108
Karma: 6066
Join Date: Apr 2010
Location: Singapore
Device: iPad Air, Kindle DXG, Kindle Paperwhite
Quote:
Originally Posted by mohmedic View Post
ok, I have tried to figure out what the heck you guys are doing for other feeds and apply them to mine but I ain't that smart!!
Here is my half finished recipe if someone would be so kind as to take a look and tell me how i can get this website minus all the crap!! i have the print pages but couldn't figure out how to do the find replace to change 2 different parts of the url.
thanks!
You can study the recipe I made for Technology Review above (post#2327). It's quite similar.

Take one article for example:
'http://www.ems1.com/fire-ems/articles/852270-EMT-with-firemans-key-accused-of-NY-sex-attacks/'.

The print version for this article is
'http://www.ems1.com/print.asp?act=print&vid=852270'

Your base URL for the print version should be 'http://www.ems1.com/print.asp?act=print&vid='. You need to append this base URL with the number found in the original article URL, i.e. 852270. To extract this number you need to split the URL using "/" and "-" as the delimiters for the splits.
rty is offline