Smartnaming Documentation #2234
Replies: 5 comments 1 reply
-
See #838 there is enough knowledge in this discussion to work out how to do it. |
Beta Was this translation helpful? Give feedback.
-
With all due respect, github discussions hardly qualify for a simple documentation, especially when it's just loads of screenshots and dozens of messages to sift through. |
Beta Was this translation helpful? Give feedback.
-
An example for smartnaming https://old.bitchute.com/video/yWa5pdnqjQrO/ Highlight the page where there is some text. Right click Inspect. It will open the Inspector where it is highlighted in blue. Right click on this, mouse over Copy to CSS Selector and left click on this. You now have what you need for the smartnaming, the rest of the process is done in VDH. ![]() Paste the selector where it says Text from CSS selector, test it to see the result. Above that make sure you have %selector. |
Beta Was this translation helpful? Give feedback.
-
Thanks for the reply, but that's not a working example though. It's a bunch of useless screenshots how and where we find the options. A for effort, F for usefulness. At least make a screenshot of something that actually works. - aka. let us see the results. For example:
and 2. How would I get "Movie Name" as an output in 1. or 2.? |
Beta Was this translation helpful? Give feedback.
-
In my case, HTML looked something like this:
It wasn't apparent from the get-go, and took some experimenting, but I found that in order to grab the "Video Title" string, I needed to put "p.lead a" (no quotes) into the "Text from CSS selector (optional)" field. I guess it's a bit like jQuery selections. Hope this helps. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Your question
Hi, since there is no documentation on smartnaming, can anyone at least provide a few syntax examples what needs to be in the CSS selector field?
Like, do we need <>?
can we use attribute vars as selectors?
does it have to be element contents?
Can we use regex to trim the output with replacements?
So since there's nothing on any site regarding documentation, I must assume this feature is broken.
Addon & CoApp version and details
Version 9.5.0.2 (stable) Companion App (v2.0.20)
Beta Was this translation helpful? Give feedback.
All reactions