News Plugin ๐Ÿ“ฐ

Looks like it works with 3.0.5 if I use the sha just before that commit. (289c736c65841578ac9022923581828f089fccac) :raised_hands: Thanks for all of your help @merefield

Do you know if itโ€™s possible to make the News page the default/home page?

You could use the theme api, or simply install this:

and set it to /news

1๊ฐœ์˜ ์ข‹์•„์š”

Hi there, i donโ€™t know why? But iโ€™m having trouble with this plugin since 3 discourse update ago.
I get :
Error while processing route: news Cannot read properties of undefined (reading 'can_create_topic') TypeError: Cannot read properties of undefined (reading 'can_create_topic')

Full details in the issue on github repo.
Any help will be much appreciated.

Anybody to help ?

Sorry, Iโ€™m a bit too busy right now. There have been a few changes in Discourse that have affected this plugin (moving it to broken for now). Ping me again in a week or so. I might have some more time.

4๊ฐœ์˜ ์ข‹์•„์š”

Question for @angus on the GitHub - paviliondev/discourse-news: Adds a news stream to your Discourse instance ยท GitHub plugin (before digging into the code myself - I am not an UX specialist โ€ฆ)

I dont understand the required syntax in the entry fields for

discourse news rss and discourse news icon

For the news icon, I played with the code examples from

but without success for โ€œfa-newspaperโ€ yet โ€ฆ

As itโ€™s a third-party plugin, Iโ€™ve slipped your post over to the relevant plugin topic. :+1:

Though it looks like this one has the broken tag at the minute (not sure if that affects your issue though).

Hey @Thomas_Rother. If you can get this plugin to work for you (caveat it seems to be broken for some as @JammyDodger mentioned), then thereโ€™s two lists of fontawesome icons in Discourse which will give you the exact name you need to use.

Thereโ€™s this one, which is the one that Discourse loads by default (i.e. will always work if you just use the right name)

And thereโ€™s icons in the Fontawesome SVGs in Discourse (The name is the id on the symbol). The icons in the SVG which are not listed in lib/svg_sprite.rb will work if theyโ€™re loaded by a plugin or theme.

So for fa-newspaper, it looks like:

  1. Itโ€™s not in the list in lib/svg_sprite.rb meaning that Discourse does not load it by default;
  2. There is a newspaper in the fontawesome/regular.svg and fontawesome/solid.svg

So to use it in the News plugin youโ€™d need to load newspaper in a theme or plugin following the steps laid out in

1๊ฐœ์˜ ์ข‹์•„์š”

Thanks for the reply and for this very useful plugin.
It would be nice to have a fix someday.
I understand it may be linked to this ? DEV: Refactor discovery routes to remove use of 'named outlets' (#22622) ยท discourse/discourse@82d6d69 ยท GitHub
Hopefully, someone versed in discourse can help.
Bests

As an aside, wonโ€™t it do to just add it to svg icon subset in admin/settings ?

2๊ฐœ์˜ ์ข‹์•„์š”

I found this plugin and it looks very interesting and most likely will accomplish exactly what I am looking for. After a bit I noticed the broken tag. Can this still (safely) be installed?

1๊ฐœ์˜ ์ข‹์•„์š”

In short, no. But the coop.pavilion.tech developers would likely be willing to get it working + maintain it if you have a budget.

Alternatively, you can achieve something very similar using Topic List Previews (and maybe Sidebar Blocks).

Even I am looking forward for this news plugin fix to utilize this nice feature.

@Angus how much$ and time would it cost to get this plugin updated to work with the current version of Discourse? And with infinite scroll for the main news feed.

Iโ€™m potentially interested in getting this updated.

Iโ€™ve been using it for the past 3 years (and its generally great, obviously with some limitations), but Iโ€™m currently stuck on the following version of Discourse: 2.9.0.beta9

and would like to move to the latest version of Discourse.

Glad to hear it!

For me to work on this now itโ€™d be at least $1k, possibly a bit more. Because:

  • Iโ€™d take time from other work.
  • Iโ€™d have to write tests for it.
  • it hasnโ€™t been updated in a while.

So if thatโ€™s in budget shoot me a PM and Iโ€™ll give you a proper quote :+1:

Alternatively, if you can get at least five real communities that currently use it to reach out, Iโ€™ll do it for free in my spare time (the โ€œcommunity interestโ€ option).

4๊ฐœ์˜ ์ข‹์•„์š”

Hi
Are there any instructions as such in terms of how to set this up?

I have installed the plugin, enabled the plugin, selected Discourse news to be enabled, completed all the mandatory fields (using BBC rss feed as a test) and I do not see anything against the Discourse News Category

Well, it is tagged as broken. Perhaps you should not waste time with it?

3๊ฐœ์˜ ์ข‹์•„์š”

Is there anyone else interested in using this News plugin (I love it and have built a site around it) and would be interested in having it updated to run on the latest version of Discourse?

Please add a comment here if youโ€™re interested, or reach out to me.

์•ˆ๋…•ํ•˜์„ธ์š”, ๋ฐฉ๊ธˆ whoโ€™s online ๊ณต์‹ ํ”Œ๋Ÿฌ๊ทธ์ธ์„ ์„ค์น˜ํ–ˆ๋Š”๋ฐ, ์ด์ œ ๋‹น์‹ ์˜ ํ”Œ๋Ÿฌ๊ทธ์ธ์ด ๋” ์ด์ƒ ์ž‘๋™ํ•˜์ง€ ์•Š์Šต๋‹ˆ๋‹ค. ์™œ ๊ทธ๋Ÿฐ์ง€ ์ดํ•ด๊ฐ€ ์•ˆ ๋˜๋Š”๋ฐ, ๋„์™€์ฃผ์‹ค ์ˆ˜ ์žˆ๋‚˜์š”?

์ด ํ”Œ๋Ÿฌ๊ทธ์ธ์€ ํ˜„์žฌ broken ํƒœ๊ทธ๊ฐ€ ์ง€์ •๋˜์–ด ์žˆ์Œ์„ ์œ ์˜ํ•˜์‹ญ์‹œ์˜ค.

1๊ฐœ์˜ ์ข‹์•„์š”