info-gnus-english
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: nnrss how to subscribe


From: Adam Sjøgren
Subject: Re: nnrss how to subscribe
Date: Tue, 13 Sep 2016 07:55:36 +0200
User-agent: Gnus/5.130016 (Ma Gnus v0.16) Emacs/24.5 (gnu/linux)

Arkady writes:

> Normally an RSS URL would display XML code in the browser as this
> one http://rss.dw.com/rdf/rss-en-all
> But when I type  http://www.thetimes.co.uk/tto/news/rss in my
> browser, I'm redirected to http://www.thetimes.co.uk.
>
> Is there a way to bypass this redirection?

When you ask for that URL at www.thetimes.co.uk, you get a redirect:

  $ wget -S http://www.thetimes.co.uk/tto/news/rss
  --2016-09-13 07:49:38--  http://www.thetimes.co.uk/tto/news/rss
  Resolving www.thetimes.co.uk (www.thetimes.co.uk)... 194.221.65.8, 
194.221.65.62
  Connecting to www.thetimes.co.uk (www.thetimes.co.uk)|194.221.65.8|:80... 
connected.
  HTTP request sent, awaiting response... 
    HTTP/1.1 301 Moved Permanently
    Server: Apache-Coyote/1.1
    X-Clacks-Overhead: GNU Terry Pratchett
    ETag: "2016-07-08 19:07:14.474-342-News-2014-08-14 11:09:06.162"
    Last-Modified: Tue, 13 Sep 2016 05:37:55 GMT
    Location: /
    Content-Type: text/html;charset=UTF-8
    x-cachemod-origttl: max-age=900
    x-client-ttl: 50
    Content-Encoding: gzip
    Content-Length: 21
    X-Varnish: 1173628720 1173624941
    x-cachemod-currenttl: 205.177s
    hashkey: /tto/news/rss:tto
    objttl: 
    X-origcc: max-age=50
    X-origd: Tue, 13 Sep 2016 05:49:30 GMT
    X-ws: docache1,ttocda24b
    Vary: Accept-Encoding
    X-NU-AKA-ACS-Version: 1_1
    X-NU-AKA-ACS-Version: 1_1
    X-NU-AKA-ACS-Version: 1_1
    Cache-Control: max-age=43
    Date: Tue, 13 Sep 2016 05:49:38 GMT
    Connection: keep-alive
    Set-Cookie: nuk_customer_location_hint=UK; path=/; domain=.thetimes.co.uk
    X-NU-AKA-ACS-Version: 1_1

So their webserver doesn't want to give you a feed, but redirects you
to the frontpage.

Why they do that is not something the client can discover automatically.

Maybe the do User-Agent-sniffing, maybe they just misconfigured their
webserver...


  Best regards,

    Adam

-- 
 "I got into the driver’s seat                                Adam Sjøgren
  And I drove down 42nd Street                           asjo@koldfront.dk
  In my Cadillac
  Good car to drive after a war"




reply via email to

[Prev in Thread] Current Thread [Next in Thread]