How to make your Armslist search into an RSS feed

Missourian

Diamond Member
Aug 30, 2008
33,535
24,075
2,905
Missouri
I am usually looking for something in particular locally when I hit Armslist, but I don't check it everyday...but I do check my news feeds everyday.

Yesterday I ran across a newspaper site on the other side of the state that I enjoyed reading, but the RSS feed was only "All News" and didn't break down for state and national news only. My local paper locks it's content and the Springfield News-Leader is far too liberal for my taste. So I found a site where I could make any HTML site into an RSS feed. After a little trial and error, I got it figured out.

Later I was searching Armslist and noticed that the entries were a lot like news site entries. I wondered if I could make a search page into a feed...and it turned out that I could and it was pretty easily done.

First you have to go to Armslist and cycle through your search using only the categories and the left hand column filters.

I'm going to do one right now for a 30-06 Remington rifle.

Then, in a separate tab, go to feed43.com and click on "Create a Feed".

You should end up on a page that looks like this (minus the arrows):

c8e0da5d-caa4-4be9-be4c-c13d20dd09a7_zpsec41721f.png




Copy the URL from your Armslist search and paste it to the box the red points to (above), then click the "Reload" button.

You should get a screen that looks like this:

e64d1a11-517a-4c40-82f1-a2782aa88dcb_zps033f5b21.png




Now, for step 2...you should have some empty boxes where the red arrows point...fill them with the code I typed out below the picture (used the wrong window screen capture :redface:) :


506d90c7-004c-44d5-989e-4b55f0b23792_zps778cfe2d.png


"Global Search Pattern" box code: <article class="post"> {%}<!-- HACK FOR EDS -->


"Item (repeatable) Search Pattern" box code: <div class="title">{%}</div>{*}<div class="price">{%}</div>

Then click the Extract Button (blue arrow in image above).

It should extract the posts and give you an "OK" in green with the number of posts extracted and open a new results box:

e11d37c2-5c89-4e86-b06d-6172181936af_zps66a78aef.png



Step 3:

eb6ed4e9-957f-43bb-ac78-c7a157e8c37b_zps28279f94.png


In the "Item Content Template" box, enter the code: <b>{%1}</b> &nbsp;<b>{%2}</b>

Then click the "Preview" button:

1de4826f-40f0-437d-b6b1-83f2fa770035_zpscec3a83e.png


And you should be done!

If all went according to plan, you should see a screen like this:

d4eb7d8c-1c15-4b47-b46e-87262d6f42d1_zps8278c32d.png



Post a message if this doesn't work, and we'll tweak it so it does. :thup:


 
Last edited:
Please don't show me ways to make it easier for me to search for firearms to buy!

LMAO!!

It is like the old joke, "Let us not into temptation, I can find the way all by myself".
 
Love ArmsList! Bought an Zastava PAP M92 mono-y-mono via Armslist.

But sorry, I can't help ya with those technical difficulties....
 

Forum List

Back
Top