however, lately I have tried using exclusions in my searches on ST. The trouble is converting those search terms to properly formatted xmURLs.
If I search for "39 Studebaker" all is good, and I can get good results in my RSS feeds. It forms the xmURL:
Code: Select all
http://klamath.craigslist.org/search/sss?query=39+Studebaker&catAbb=sss&sort=date&format=rss
Code: Select all
xmlUrl="http://klamath.craigslist.org/search/sss?query=39+%7C+Studebaker+-toys+-coins+-posters+-brochures&catAbb=sss&sort=date&format=rss"
If you look at the results of that URL in a browser, it seems to pass "39 | Studebaker -toys -coins -posters -brochures" on to CL. Notice the addition of the pipe character.
I am fairly sure this is related to how my search is entered and the subsequent formatting of the url string. What am I doing wrong?