Comments (4)
Thanks @j0k3r. In that case, until the situation improves, we can summarise the file naming advice as:
Use example.com.txt
for
- www.example.com
- example.com
Use .example.com.txt
for
- sport.example.com
- news.example.com
- environment.example.com
- etc.
Use sport.example.com.txt
to target just that sub-domain:
- sport.example.com
Note: .example.com.txt
will not match www.example.com
or example.com
I've now added this to the Readme
from ftr-site-config.
.example.com.txt
wil work for any subdomain of example.com
: video.example.com
, news.example.com
, www.example.com
, m.example.com
, etc.
www.example.com.txt
will only work for www.example.com
.
In fact, it's not a problem to add .example.com.txt
instead of www.example.com.txt
it's just less accurate.
I fixed one of your added file yesterday but missed other one.
from ftr-site-config.
The confusion might be around the way this is handled in Full-Text RSS. In the past I've edited pull requests where, e.g. .example.com.txt
was targeting www.example.com
(in test_url
) because in Full-Text RSS this won't match www.example.com
. I wonder if that's what's confused @burkemw3. The www
subdomain is treated as a special case so example.com.txt
is needed to match www.example.com
and example.com
. .example.com.txt
will match everything else except the above two.
This also creates a problem when a site has essentially the same layout under example.com
and all its subdomains. We can't use one file to target the site, we have to duplicate the contents of example.com.txt
in .example.com.txt
.
This isn't very intuitive, and I've realised that most people assume .example.com.txt
will match all variations (example.com
, www.example.com
, news.example.com
, etc.).
@j0k3r if I'm understanding correctly in your case (Graby/Wallabag) the difference with what I've described is that .example.com.txt
will match www.example.com
. Is that right?
from ftr-site-config.
@fivefilters I think I made a confusion by replying too fast. I use the same behavior as in Full-Text RSS (not what I said in my minimized comment)
from ftr-site-config.
Related Issues (20)
- how to deal with JavaScript objects/json parsing HOT 4
- sz-magazin.sueddeutsche.de sz-plus Login HOT 2
- replace_string for <tag> also replaces </tag>. That is nice, but is this safe? HOT 1
- nytimes.com - lazy-loaded images not loaded HOT 1
- Fix tags when styled by CSS instead of using semantic HTML HOT 6
- How to contribute? HOT 2
- Kenfm.de is missing HOT 1
- Notebookcheck broken
- Specify title in site config file HOT 4
- tweakers.net pattern doesn't work anymore HOT 1
- nature.com Improvement HOT 2
- gizmodo/lifehacker don't work (they store text in JSON-LD now) HOT 3
- faz.net paywall articles shows payment-hint instead of the teaser as content HOT 2
- Need help to find a fingerprint for 60+ ippen.media newssites HOT 18
- Update vox.com.txt
- Suggestion for nytimes.com.txt HOT 4
- Are there any wildcard for ' find_string' or 'replace_string'? HOT 1
- Suggestion on wikipedia
- I can't set author for feeds from RSS-Bridge HOT 3
- How to get content from a site with bad ssl cert HOT 4
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 ftr-site-config.