For example, I want to be notified of all new uploads (topics) on the torrent tracker rutracker.org with the text "I2P" in the title. What values do I need to enter in the "Start tag: Use tag:" and "Stop tag: Use tag:" fields?
The "Adblock Plus - free ad blocker" browser add-on would use
rutracker.org##.row1.tCenter.pad_12
(= tooltip in Mozilla Firefox' DOM and Style Inspector). "Outer HTML":
Empirically found that in "Start tag", in this case, I have to enter
<td colspan="10" class="row1 tCenter pad_12">
and in the "Stop tag" field -
</td>
That is, to indicate the beginning and end of the tracked portion of the web page, you need to use the value "Outer HTML".
But what if the required tag is spread over multiple lines? I tried to just remove them, and replace line breaks and tabs with a space, but I got the error "Tag could not be found". I selected the desired piece of code, clicked "Use selection", and received the error "Multi-line content is not supported". I did not find any code folding setting in the application. How would you advise to set rules in the situation depicted in the screenshots below?
I am aware of these special cases. There were also already some feature requests on that topic. I will consider this sooner or later. Currently, I like the idea of RegEx (FR#140) a lot. It maybe not an easy option for newbies that don't know RegEx so maybe I'll also implement another (easier) option... Stay tuned.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
For example, I want to be notified of all new uploads (topics) on the torrent tracker rutracker.org with the text "I2P" in the title. What values do I need to enter in the "Start tag: Use tag:" and "Stop tag: Use tag:" fields?
The "Adblock Plus - free ad blocker" browser add-on would use
(= tooltip in Mozilla Firefox' DOM and Style Inspector). "Outer HTML":
"CSS Selector":
"CSS Path":
"XPath":
Empirically found that in "Start tag", in this case, I have to enter
<td colspan="10" class="row1 tCenter pad_12">and in the "Stop tag" field -
</td>That is, to indicate the beginning and end of the tracked portion of the web page, you need to use the value "Outer HTML".
But what if the required tag is spread over multiple lines? I tried to just remove them, and replace line breaks and tabs with a space, but I got the error "Tag could not be found". I selected the desired piece of code, clicked "Use selection", and received the error "Multi-line content is not supported". I did not find any code folding setting in the application. How would you advise to set rules in the situation depicted in the screenshots below?
Last edit: Korwin 2021-07-22
I am aware of these special cases. There were also already some feature requests on that topic. I will consider this sooner or later. Currently, I like the idea of RegEx (FR#140) a lot. It maybe not an easy option for newbies that don't know RegEx so maybe I'll also implement another (easier) option... Stay tuned.
@mortenmacfly, can you add anything to this topic based on the results of the past 4.5 years of development?
That's why XPath and JSONPath was added such that you can use what you' described above easily:
/html/body/div[4]/div[1]/div[2]/table/tbody/tr/td/div/div[1]/table/tbody/tr/td