Bob Dole
-
Posts
5 -
Joined
-
Last visited
Content Type
Profiles
Forums
Events
Posts posted by Bob Dole
-
-
Ok thanks again I figured it out. In RSSOwl I select "contains any of" in the search parameters and use an "&" which again is "&" in the editor, to separate phrases. Then surround each phrase in their own quotes. Thanks for your help.
Edit: FYI here's the code. RSSOwl changed the "id=" to a 2 instead of 11 so this works now.
Edit2: Turns out I don't need the "&" and can just separate the phrases with a space and quotes.
<rssowl:searchspecifier id="2" /> <rssowl:searchvalue type="0" value="checking the charts & compare to the healthcare & traders recap & will a key weakness &evaluate stock's volatility" />
-
What a bout a logic symbol for "or"? Say...
<rssowl:searchvalue type="0" value="stock movements in focus ∨ weighs in on ∨ 20 SMA" />
That doesn't seem to work, but is there something similar I could do?
-
Thanks for the clue. I figured out the multiple attribute value thing. I simply add a "&" for the filter value inside RSSOwl, or "&" in XML . Wow that was simple lol. So it now shows...
<rssowl:searchvalue type="0" value="Analyst & good buy"/>
I feel like Archimedes yelling eureka lol. Thank you.
Now I just need to reduce the code from 4,217 lines lol. I tried doing something like below, listing "value=" underneath each other but it didn't work...<rssowl:searchfilter name="Delete clickbait news 01 NEW" order="3" enabled="true" matchAllNews="false"> <rssowl:search matchAllConditions="false"> <rssowl:searchcondition> <rssowl:searchspecifier id="11" /> <rssowl:searchvalue type="0" value="stock movements in focus" /> <rssowl:searchvalue type="0" value="weighs in on" /> <rssowl:searchvalue type="0" value="20 SMA" /> <rssowl:searchfield id="0" entity="org.rssowl.core.persist.INews" /> </rssowl:searchcondition>
-
Hi, first post here. I am using an RSS reader (RSSOwl) to pull news for trading the stock market. There is a ton of news to sort through, and it is mostly clickbait garbage. I've been filtering out the clickbait by editing the XML file in a separate program and importing to RSSOwl. But I'm wondering if there is a way to...
1) Simplify the coding by adding multiple attributes to an element(is that the word?) instead of copy/pasting the element over and over again for each attribute? Below, the "value=" part is a phrase that if found in the news title, RSSOwl will delete the article so I don't have to see it at all. But, can I reduce all of that code so there are multiple "value=" phrases on the same line, or in the same element?
<rssowl:searchfilter name="Delete clickbait news 01 NEW" order="3" enabled="true" matchAllNews="false"> <rssowl:search matchAllConditions="false"> <rssowl:searchcondition> <rssowl:searchspecifier id="11" /> <rssowl:searchvalue type="0" value="stock movements in focus" /> <rssowl:searchfield id="0" entity="org.rssowl.core.persist.INews" /> </rssowl:searchcondition> <rssowl:searchcondition> <rssowl:searchspecifier id="11" /> <rssowl:searchvalue type="0" value="weighs in on" /> <rssowl:searchfield id="0" entity="org.rssowl.core.persist.INews" /> </rssowl:searchcondition> <rssowl:searchcondition> <rssowl:searchspecifier id="11" /> <rssowl:searchvalue type="0" value="20 SMA" /> <rssowl:searchfield id="0" entity="org.rssowl.core.persist.INews" /> </rssowl:searchcondition>
2) Add multiple quoted values to an attribute? For example the phrase "Analyst: CLSN record highs today, good buy?" Instead of filtering out just "Analyst" or "good buy" because they might show up in a news feed I want to read, can I somehow add a comma or symbol to filter that news out if they show in the same sentence? So like...
<rssowl:searchvalue type="0" value="Analyst", "good buy"/>
?
Thank you for your time.
How do I assign multiple attributes, and reduce the amount of code?
in XML
Posted
Ok, I got it now...lmao. Check out my massive wall of code haha...