Comments (5)
I'm in the same boat... I want to pull a comic image from a page that has no classes. This doesn't seem to work (Firebug says it's the xpath to the image tag).
"xpath": "html/body/table/tbody/tr[2]/td/table/tbody/tr/td[2]/table/tbody/tr/td/table/tbody/tr[2]/td/img"
from ttrss_plugin-af_feedmod.
Can you provide a sample url?
from ttrss_plugin-af_feedmod.
I'm having a similar issue with a page without usable DIV classes. I have found a unique locator but can't seem to get it to pull body text.
Here is an example page: http://paddocktalk.com/news/html/story-259326.html
Here is the unique string: "IMG SRC=http://paddocktalk.com/news/html/images/smilies/icon_smile.gif"
I've tried all variations of XPATH that I can think of. My other pages with div classes are working perfectly.
from ttrss_plugin-af_feedmod.
It seems to me, that it is not a proper xml format, maybe some tags are missing or there is no encoding specified so some characters can not be read successfully. This will lead to errors and the xpath selection is not performed. You can try my version and use the split method. https://github.com/m42e/ttrss_plugin-af_feedmod
from ttrss_plugin-af_feedmod.
Ok, i digged in deeper.
@troydunham try: "xpath" : "td[@width='85%' and @valign='top' and @bgcolor='#FFFFFF']" and you may be near the treasure.....
from ttrss_plugin-af_feedmod.
Related Issues (20)
- Call to undefined method PluginHost::getInstance() HOT 4
- error: Invalid JSON! HOT 2
- globo feed HOT 1
- Support tagesschau.de
- Modify article content HOT 2
- cookies HOT 1
- Enable images in generated feeds HOT 6
- Feature Request: Regex replacements HOT 1
- German Umlaut not properly displayed HOT 1
- Using more than one element
- Problem Golem.de HOT 3
- problem android.pit HOT 2
- Modify after filtering
- Feeds mit Updates HOT 1
- UTF-8 problem HOT 2
- the guardian feed HOT 1
- add license
- Use "readability" to auto-select article body
- Evolution of feedmod HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ttrss_plugin-af_feedmod.