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 Like

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 Likes

Question for @angus on the GitHub - paviliondev/discourse-news: Adds a news stream to your Discourse instance 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 Like

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 Likes

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 Like

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).

3 Likes

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 Likes