The Un-Official Proxomitron Forum

Full Version: Useful readings to write your first filter
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
In this post depending in the following poll we will be posting what people want to know to write their first filter. Links to basics of html, proxomitron, etc...
http://prxbx.com/forums/polls.php?action...ults&pid=6


This is ONLY for posting READINGS you find useful. DON'T ASK HERE!! For asking go to Help for newbies: First filters
This thread must be clear, have in mind English is not the mother language of many people here.



Links we recommend from the help of proxomitron:
(All of these are from http://www.proxomitron.info)

And now...

The Proxomitron Text Matching Language

Matching Commands

Command Reference



Links we recommend for learning the basics of HTML:

W3Schools - HTML Tutorial



In this forum:

Help for newbies: First filters

How to find the filter wich is causing problems



Advanced readings:

W3C DOM Compatibility Tables

W3Schools - JavaScript Tutorial

HTTP Headers: Wikipedia, w3.org

This forum: Using $NEST
In;

Well done! Very good indeed. I think you're on the right track here. Cheers

I modified your post above to show the links in a more friendly fashion. If you want to see what I did, just click on the Edit button, then Full Edit, and look closely at the coding around the links. The description printed for the viewer is more useful than an abbreviated website link, I'm sure you'll agree. Wink

One suggestion I have for everyone..... You might consider giving a 'rating' to your submitted link(s), in how it relates to the user's experience level, i.e. Beginner, Intermediate or Advanced. Yes, it's sometimes tough to tell, but if you're not sure, just throw it out there for everyone, and someone will clarify it later, you can bank on that. Big Teeth



Oddysey
er, i thought that's what the "thank you" button was for, lol...
(okay, i'll delete this one in a few d's too...)
I found the help file that came with Proxomitron actually helpful. That helped me with figuring out how to modify and write filters.
It would be great if there was a "My filter share" section, where newbies like me could post their newest creations, and were die-hard knowledged people could give hints and corrections, this way, the Proxomitron should bloom up again, since, as it seems now, after the vanishing of Sidki & Co. proxomitron is quite silenced, and more and more problematic sites/situations appear.
Hi Toppy, i thinked the same but i'm not sure if it will work well when a few people are asking in the same thread. So as we don't know let's give it a try Wink


Update, added these links to the first post:

Help for newbies: First filters
How to find the filter wich is causing problems
(Dec. 05, 2008 12:54 AM)lnminente Wrote: [ -> ].....
Updated: added "W3Schools" and "Help for newbies: First filters"
Would be nice a tutorial to explain how to debug our filters, my english is very poor to explain it formally. If sameone could write a few lines explaining:
Nope, I like your English just fine, thank you! Big Teeth I believe that what you type for the readers tells them that this Forum welcomes all Proxo users (or user-wannabe's), not just native English speakers. You're doin' fine, pal, don't worry about it. And believe it or not, after a few months with us, your English skills will start getting closer and closer to American/Canadian/British English, you can bet on it. (And don't hesitate to ask, publicly or privately, if you need an explanation for something that doesn't make sense, English language-wise.)

(Dec. 05, 2008 12:54 AM)lnminente Wrote: [ -> ]First of all delete the cache, bypass proxomitron and reload the page.
Nearly every browser out there uses the WIMP paradigm, or Windows, Icons, Menus and Pointers. This is also known as The CUA, or Common User Interface. Obviously, the idea is to keep the learning curve down to a short time.

All of which means, that in a Windows program where refreshing the screen, or reloading the contents of a file, is necessary, then the usual and customary keystroke is defined as F5. Where there might be a cache involved, such as a web browser, then Ctrl-F5 is defined as the key combination to use for a full reload (or refresh) from the original source. In other words, it forces the browser to bypass the cache.

Now, since I am an unabashed IE user, I can not speak for any other browser. If some or all of them follow the CUA, then what I just wrote is correct, and it will save the user some time (not having to manually empty the cache). For those browsers that don't follow the "rules of the road", there are probably equivalent keystrokes that have the same effect - to bypass the cache without making the user empty it him or herself. It would behoove users to learn those keystrokes, especially in your troubleshooting scenarios.


(Dec. 05, 2008 12:54 AM)lnminente Wrote: [ -> ]If the problem follows lets find it:

1-disable web filters to see if the problems are from them
-delete the cache and reload.

2-if the problem follows, if not go to step 4, it comes from the header filters. Now enable only outcoming headers.
-delete the cache and reload

3-if the problem follows, if not go to step 4, it comes from the incoming header filters.
-delete the cache and reload

4-enter in debug mode (Tick html debug info) from the log window
-delete the cache and reload the page
-see what filters worked in the log window
-disable some of them until the error dissapear....etc...
Here's the value of this (or any) Forum - we get to learn of different methods that arrive at the same goals. In this instance, I would go about it the opposite way..... I'd first turn off everything, and test to make sure that the browser can handle all of the input from the server. If not, then you haven't wasted valuable time on Proxo, when it's now clear that it isn't the problem to begin with.

Next, I use the log window to see which filters are firing, or not firing when I expect them to. This is quick, and lets me know if maybe I should use Multi or something. It's also the only way you're gonna learn what header filters were sent by the server, sorry to say. Only after this will I engage the dbug.. command to view the page as sent, and seen by Proxo. Now I can see, by name, which filters to disable if they are causing a problem. It's not often you'll find yourself disabling all the filters..... or at least, that's been my experience. Wink Otherwise, we'd reach the same conclusion at the end of the testing, but we arrived at it following different paths. Ain't it grand? Whistling

(Dec. 05, 2008 12:54 AM)lnminente Wrote: [ -> ](i will delete this post too i some days)
Don't you dare! Too many people are gonna get referred to this thread, and it would not look good if some of the posts refer to others that are missing. Pray

OK, I'm outta here for the night, ta-ta all!




Oddysey
Something I sometimes find helpful is to open the log window, reload the page, and read the purple print in the log window. That gives a complete list of all the web fllters used in the loading and processing of code on the page. The debug view shows the filters used in the web page, but it usually does not show all the filters that were used during the page loading because extra code is contained in stylesheets and javascript files.
Oddisey, many thanks for supporting my english, i hope to improve it Wink
The tip of CTRL+F5 would be very good, but gives me some doubts. I see browser reloads in the log window but it doesn't says in what request/connection (for IE and FF). Not sure if CTRL+F5 is only for bypassing cache for the main HTML page and it takes javascripts or frames from cache... hope it reloads only images...

I will create anoooother thread for speaking about the method to find the filter which is causing problems. It could be more complex than it seems 'cause we could be stablishing global vars that could be interfering between header and web filters.

lnminente Wrote:(i will delete this post too i some days)
Oddisey Wrote:Too many people are gonna get referred to this thread
Don't worry for that, they will have what they are looking for but better organized in the first post of this thread. I don't want to bore new people for reading this full thread. I saw the post linking to the 7th post here, i will update it too Wink
For speaking about "how to find the filter wich is causing problems" go here
(Dec. 05, 2008 12:33 PM)lnminente Wrote: [ -> ]
lnminente Wrote:(i will delete this post too i some days)
Oddisey Wrote:Too many people are gonna get referred to this thread
Don't worry for that, they will have what they are looking for but better organized in the first post of this thread. I don't want to bore new people for reading this full thread. I saw the post linking to the 7th post here, i will update it too Wink

hmmm... "thinking out loud..."

i applaud the endeavor of wanting to keep the thread free of "excess"...
but at the same time, i agree with Odd that, for the most part, posts being deleted "can" cause more confusion than it might save...


the "out loud" part - i'm curious, the software running this forum, i wonder if a "side note" option exists... something that says "i'm submitting this post as a 'side note', one week from now, all future visitors will see the post as nothing but a 'posted time, posted by, post#' header/bar with a down-arrow to "unfold" the "content" of that 'side note post'..." ie, readers scroll their browser through the 'more relevants' as all being unfolded, but the 'side notes' are scrolled right by...

just an "out loud", as i know nothing about the software "driving" this go-cart...
I'm full ears and this was only a slighly modification, an update. Only replacing old data for a link to a better place. I think it would be a good idea to have this thread well arranged for the needs new people could have. They could need something but don't ask here for the possibility it was asked before and they didn't read the full thread. The butterfly effect, a big thread here could make us lose future important people Wink
ProxRocks;
Quote:.....
the "out loud" part - i'm curious, the software running this forum, i wonder if a "side note" option exists... something that says "i'm submitting this post as a 'side note', one week from now, all future visitors will see the post as nothing but a 'posted time, posted by, post#' header/bar with a down-arrow to "unfold" the "content" of that 'side note post'..." ie, readers scroll their browser through the 'more relevants' as all being unfolded, but the 'side notes' are scrolled right by...
This idea is, of course, within Our Fearless Leader's domain, neither you nor I can do much to make it happen. However, I see that in the upper right hand corner of any given topic there are a pair of links labeled Threaded and Linear modes. Threaded mode is akin to what you're asking, so there may be hope yet for what you desire.

Keep yer finners crossed! Cheers



Oddysey
Updates----
081212: Added "Advanced readings: W3C DOM Compatibility Tables"
081215: Added "Advanced readings: W3C Javascript tutorial" and "HTTP Headers: Wikipedia, w3.org"
090204: Added "Advanced readings: This forum: Using $NEST"
Reference URL's