Post Reply 
dell outlet system spec filtering
Oct. 17, 2005, 10:51 PM
Post: #1
dell outlet system spec filtering
I'm trying to modify the dell outlet proxomitron filter (at bottom). I saw a forum post where Kye-U tried to help a user filter for a certain system spec (like graphics memory). Though it didn't seem to work for him and I can't get it to work for me either. http://prxbx.com/forums/viewtopic.php?t=...ghter=dell (i couldn't find any other forum posts on this issue)

I have had some success with putting system spec query terms in the dell outlet URL and thats what i use as the filter scope URL (special chars escaped in proxo):
URL

The problem is that the dell outlet sometimes returns erroneous query results and the dell proxomitron filter will add any resultant systems that meet the specified price.

I need change the dell outlet proxomitron filter to match both "price" and "OS" conditions.

for example, could this html from a system spec filter be inserted into the regular dell outlet filter below so that both conditions have to be met?

Code:
<td class=\"specs\">*</td>\s<td class=\"specs\">*</td>\s<td class=\"specs\">Microsoft Windows 2003 Small Business Server, Std</td>

regular dell outlet filter I'm using:

Code:
<font * </s></font>
|<input type=\"checkbox\" value=\"\1\" name=\"selectedSystems\"></td>\s<td class=\"(discounted|)pricebox\">(<font color=\'*\'>|) (($|?)(((((?|)?|)?,|)((?|)?|)?).(??)))\2 (</font>|\&|)</td>($TST(\2=*($|?)([#0-1],|)[#0-999].??*))$SET(MATCHED=YES)$SET(9=<input type="checkbox" CHECKED value="\1" name="selectedSystems" > </td> <td class="pricebox"> <font color='DarkRed'><b> \2 </b></font> </td>)
|<!--/ADD SYSTEMS TO SHOPPING CART BUTTON-->$TST(MATCHED=YES)$SET(9=\n<script type="text/javascript"><!--\r\ndocument.forms[1].target='newwindow';\r\ndocument.forms[1].submit();\r\n//--></script>)
|<meta content=\"Dell US\" name=\"author\">$SET(9=<meta http-equiv="refresh" content="5">)

thanks, jeremy
Add Thank You Quote this message in a reply
Oct. 17, 2005, 11:29 PM
Post: #2
 
Hi jwf1776!

Try this:

Code:
[Patterns]
Name = "Dell Outlet v2.0 [Kye-U] (Specific OS)"
Active = TRUE
URL = "outlet.(u(s|k).|)dell.com/(Dispatcher\?target=InventoryPage|Emea_Dfo/EuDispatcher\?(country=GBR\&|)target=InventoryPage)*"
Limit = 512
Match = "<font * </s></font>"
        "|<input type=\"checkbox\" value=\"\1\" name=\"selectedSystems\"></td>\s<td class=\"(discounted|)pricebox\">(<font color=\'*\'>|) (($|?)(((((?|)?|)?,|)((?|)?|)?).(??)))\2 (</font>|\ |\ )</td> <td class="specs">\3</td> <td class="specs">\4</td> <td class="specs">"
        ""
        "(Microsoft Windows 2003 Small Business Server, Std)\5"
        ""
        "\ </td>"
        ""
        "($TST(\2=*($|?)([#0-1],|)[#000-999].??*))"
        ""
        "$SET(MATCHED=YES)$SET(9=<input type="checkbox" CHECKED value="\1" name="selectedSystems"> </td> <td class="pricebox"> <font color='DarkRed'><b> \2 </b></font> </td> <td class="specs">\3</td> <td class="specs">\4</td> <td class="specs">\5</td>)"
        "|<form name="cartForm"\1>$SET(9=<form name="cartForm"\1 target="_blank">)"
        "|<!--/ADD SYSTEMS TO SHOPPING CART BUTTON-->$TST(MATCHED=YES)$SET(9=\n<script type="text/javascript"><!--\r\ndocument.cartForm.submit\(\);\r\n//--></script>)"
Replace = "\9"

To customize it, change the OS listed in the brackets. So for instance, say you want to change it to Microsoft Windows Server 2003 Enterprise Edit, change:

Code:
(Microsoft Windows 2003 Small Business Server, Std)\5

To:

Code:
(Microsoft Windows Server 2003 Enterprise Edit)\5

To use it, please be sure to download the attachment in my post here but just extract Dell.html to "C:\Program Files\Proxomitron Naoko-4\html" (don't bother merging the config file):

http://prxbx.com/forums/viewtopic.php?t=464

And to do the actual "botting", open this URL once you've extracted Dell.html to the HTML folder in your Proxomitron folder and imported the filter above:

http://local.ptron/Dell.html

Please post if you have any problems Smile!
Visit this user's website
Add Thank You Quote this message in a reply
Oct. 18, 2005, 04:38 AM
Post: #3
 
i've installed the Dell Outlet Deal Snatcher v1.3
i unchecked the default filter (Dell Outlet v2.0 [Kye-U])
i imported the "Dell Outlet v2.0 [Kye-U] (Specific OS)" filter you supplied.

using http://local.ptron/Dell.html I've found that the filter results displayed 2 columns farther right than they should be. Thus the price appears in the system identifier column and so on.

does the Dell Outlet v2.0 [Kye-U] (Specific OS) filter need an adjustment or is it something else?
Add Thank You Quote this message in a reply
Oct. 18, 2005, 04:46 AM
Post: #4
multiple pages of results
also, I'm curious how people have handled multiple pages of results.

i had the idea of refining the query a bit and displaying the best components in the first 10 results by placing parameters into the dell URLs.

would changing URLs in C:\Program Files\Proxomitron Naoko-4\html\dell.html break things?

for instance, changing:
<option value="http://outlet.us.dell.com/Dispatcher?target=InventoryPage&action=filter&lob=POWER">PowerEdge</option>

to look like:
Code:
<option value="http://outlet.us.dell.com/Dispatcher?target=InventoryPage&action=filter&lob=POWER&chassis_type_display=Server&os_type=Microsoft%20Windows%202003%20Small%20Business%20Server,%20Std&sortColumn=price&sortDirection=up">PowerEdge</option>
Add Thank You Quote this message in a reply
Oct. 18, 2005, 05:04 AM
Post: #5
 
Hmmm, can you take a screenshot of it?

I think the Dell Outlet v2.0 [Kye-U] (Specific OS) filter needs some updating.

Feel free to customize it as you wish. I'm pretty sure we (well, mostly Shea) can improve the Dell.html page to limit the search to sections Smile!
Visit this user's website
Add Thank You Quote this message in a reply
Oct. 18, 2005, 12:37 PM
Post: #6
 
here's the screen shot


Attached File(s)
.jpg  scnshot.jpg (Size: 61.91 KB / Downloads: 2084)
Add Thank You Quote this message in a reply
Oct. 18, 2005, 08:08 PM
Post: #7
 
Thanks!

Here is the updated filter:

Code:
[Patterns]
Name = "Dell Outlet v2.0 [Kye-U] (Specific OS)"
Active = TRUE
URL = "outlet.(u(s|k).|)dell.com/(Dispatcher\?target=InventoryPage|Emea_Dfo/EuDispatcher\?(country=GBR\&|)target=InventoryPage)*"
Limit = 512
Match = "<font color='\w'> <s> * </s> </font>"
        "|<input type=\"checkbox\" value=\"\1\" name=\"selectedSystems\"></td>\s<td class=\"(discounted|)pricebox\">(<font color=\'*\'>|) (($|?)(((((?|)?|)?,|)((?|)?|)?).(??)))\2 (</font>|\ |\ )</td> <td class="specs">\3</td> <td class="specs">\4</td> <td class="specs">"
        ""
        "(Microsoft Windows 2003 Small Business Server, Std)\5"
        ""
        "\ </td>"
        ""
        "($TST(\2=*($|?)([#0-1],|)[#000-999].??*))"
        ""
        "$SET(MATCHED=YES)$SET(9=<input type="checkbox" CHECKED value="\1" name="selectedSystems"> </td> <td class="pricebox"> <font color='DarkRed'><b> \2 </b></font> </td> <td class="specs">\3</td> <td class="specs">\4</td> <td class="specs">\5</td>)"
        "|<form name="cartForm"\1>$SET(9=<form name="cartForm"\1 target="_blank">)"
        "|<!--/ADD SYSTEMS TO SHOPPING CART BUTTON-->$TST(MATCHED=YES)$SET(9=\n<script type="text/javascript"><!--\r\ndocument.cartForm.submit\(\);\r\n//--></script>)"
Replace = "\9"
Visit this user's website
Add Thank You Quote this message in a reply
Oct. 18, 2005, 10:36 PM
Post: #8
the page displaying correctly now
the page displaying correctly now, thankyou

I'm testing to see if it will put something in the cart.
Add Thank You Quote this message in a reply
Oct. 19, 2005, 03:25 AM
Post: #9
 
well i have verified that the filter will check the checkbox for an item that meets the criteria, but it doesn't add it to the cart.

http://local.ptron/Dell.html does add items to the cart right?

it may also be my setup because when i manually hit the "add to cart button" it opens a new window that either times out or never displays anything

I will try this at my work place tomarrow and see it it runs better. It kind of seems like ptron freezes quite a bit. Sometimes clicking a link or selecting a bookmark produces nothing.
Add Thank You Quote this message in a reply
Oct. 19, 2005, 03:37 AM
Post: #10
 
What browser are you using?

Yes, you should use http://local.ptron/Dell.html. I tested it just now with Opera, Firefox and IE, and it works perfectly fine. The cart page loads up.
Visit this user's website
Add Thank You Quote this message in a reply
Oct. 19, 2005, 05:44 PM
Post: #11
works great at work
the whole setup functions flawlessly at my workplace, I think that the content filter on my home computer may have been to blame.

thanks again
Add Thank You Quote this message in a reply
Post Reply 


Forum Jump: