# Trouble with a RSS feed

**URL:** https://meta.discourse.org/t/trouble-with-a-rss-feed/226717
**Category:** Support
**Tags:** rss-polling
**Created:** [May 11, 2022, 1:21am UTC](https://meta.discourse.org/t/trouble-with-a-rss-feed/226717 "2022-05-11T01:21:36Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![nathank](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/nathank/32/290039_2.png) [@nathank](https://meta.discourse.org/u/nathank)
#### Post date: [May 11, 2022, 1:21am UTC](https://meta.discourse.org/t/trouble-with-a-rss-feed/226717/1 "2022-05-11T01:21:36Z")

</div>

Continuing the discussion from [Configure the Discourse RSS Polling Plugin](https://meta.discourse.org/t/configure-the-discourse-rss-polling-plugin/156387):

Hi - I’m struggling to get the RSS Polling Plugin to work for my RSS feed: [https://www.hinz.org.nz/resource/rss/news.rss](https://www.hinz.org.nz/resource/rss/news.rss)

My browser (Chrome) doesn’t want to open it. But when I run it through a validator it seems to be okay:

 ![image](https://global.discourse-cdn.com/meta/original/4X/8/1/b/81bed49bf55d162ddb19bb770366a35b6baaf424.png)

Is there something I’m missing in the config?

---

<div class="post-metadata">

### Author: ![craigconstantine](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/craigconstantine/32/511195_2.png) [@craigconstantine](https://meta.discourse.org/u/craigconstantine)
#### Post date: [May 11, 2022, 2:06pm UTC](https://meta.discourse.org/t/trouble-with-a-rss-feed/226717/3 "2022-05-11T14:06:22Z")

</div>

Curiously, I get a 403 if I try `curl` …

```plaintext
Craigs-iMac:~ craig$ curl -I https://www.hinz.org.nz/resource/rss/news.rss
HTTP/2 403
date: Wed, 11 May 2022 14:04:59 GMT
content-type: text/html
content-length: 1233
x-datadome: protected
accept-ch: Sec-CH-UA,Sec-CH-UA-Mobile,Sec-CH-UA-Platform,Sec-CH-UA-Arch,Sec-CH-UA-Full-Version-List,Sec-CH-UA-Model,Sec-CH-Device-Memory
set-cookie: datadome=EU3BHAFHQ05_KVgwW1Wjs9oOG7yBN6ViNb-Z0zhemMzTdky84_xqOxGy~PCdj6GF2paWbjlV6YBVr8EffwN.eBXFJjRmcsp9ix7FLkAxA2yCry0Eo6sLlqchK2zbnjV; Max-Age=31536000; Domain=.hinz.org.nz; Path=/; Secure; SameSite=Lax
location: http://www.hinz.org.nz/resource/rss/news.rss
x-powered-by: ASP.NET
referrer-policy: no-referrer-when-downgrade
strict-transport-security: max-age=31536000
x-xss-protection: 1; mode=block
x-content-type-options: nosniff

```

Maybe that server is picky about user-agents? …if the RSS validator can fetch it, but my curl, and the plugin cannot . . .

---

<div class="post-metadata">

### Author: ![Falco](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/falco/32/179432_2.png) [@Falco](https://meta.discourse.org/u/Falco)
#### Post date: [May 11, 2022, 3:59pm UTC](https://meta.discourse.org/t/trouble-with-a-rss-feed/226717/4 "2022-05-11T15:59:43Z")

</div>

Looks like `https://www.hinz.org.nz/resource/rss/news.rss` replies to `GET` requests with a `301` to `https://cdn.ymaws.com/www.hinz.org.nz/resource/rss/news.rss` but to `HEAD` requests with a `403`.

:facepalm:

You can configure the plugin to download the feed from `https://cdn.ymaws.com/www.hinz.org.nz/resource/rss/news.rss` directly to avoid their mess.

---

<div class="post-metadata">

### Author: ![nathank](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/nathank/32/290039_2.png) [@nathank](https://meta.discourse.org/u/nathank)
#### Post date: [May 11, 2022, 10:46pm UTC](https://meta.discourse.org/t/trouble-with-a-rss-feed/226717/5 "2022-05-11T22:46:45Z")

</div>

> [@Falco](#):
>
> You can configure the plugin to download the feed from `https://cdn.ymaws.com/www.hinz.org.nz/resource/rss/news.rss` directly to avoid their mess.

It works perfectly!

Thank you.

---

<div class="post-metadata">

### Author: ![nathank](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/nathank/32/290039_2.png) [@nathank](https://meta.discourse.org/u/nathank)
#### Post date: [May 25, 2022, 11:46pm UTC](https://meta.discourse.org/t/trouble-with-a-rss-feed/226717/6 "2022-05-25T23:46:08Z")

</div>

I’ve got a couple of ongoing problems with this, and would love a bit more help.

### Problem 1: The expand post content button doesn’t work

I get this in the console:

> ![image](https://global.discourse-cdn.com/meta/original/4X/b/7/c/b7c932efa13723c69908fcddea4148e41d035f89.png)

### Problem 2: limited ability to customise the resulting post

The truncated post brings in just the first `<p>`. Unfortunately I need the second one (the first is junk).

While I can target some ugly HTML passed through from the feed and suppress it with CSS, as well as customise the “This is a companion discussion topic…” text, I’m stuck with the unfortunate inline styling that is passed through. And I miss the highly valuable 2nd paragraph.

Is there a way to get rid of all the HTML elements / styles in there and just bring in the raw text? Or better yet, a selection of the raw text (in my case the 2nd `<p>` only)?

The second `<p>` element of each, including  
Is this achievable / configurable? I couldn’t work out [how to use CSS selectors to achieve this](https://meta.discourse.org/t/how-to-configure-the-allowed-embed-selectors-setting/134481) with my feed.

---

<div class="post-metadata">

### Author: ![nathank](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/nathank/32/290039_2.png) [@nathank](https://meta.discourse.org/u/nathank)
#### Post date: [June 24, 2022, 11:46pm UTC](https://meta.discourse.org/t/trouble-with-a-rss-feed/226717/7 "2022-06-24T23:46:50Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
