News Plugin 📰


(Angus McLeod) #1

GitHub-Mark-32px Repository : get the code here

sandbox Example : see it in action here

:heart: Donate : support it here

:raising_hand_man: Note: This plugin requires the Topic List Previews plugin to be installed.

Overview

The News Plugin adds a new route to your forum, where the latest topics in a category are displayed in a large, news-like format. It adds a link to this route in the header bar, to the left of the right icons.

It was originally sponsored by @Merlls_Rizzini and has subsequently been requested by others (cc @Eduardo_Braga) who have seen it in operation on my Sandbox. It is inspired by the Elektronauts site.

Notes:

  • It is disabled by default. Use the discourse news enabled setting to enable it.
  • It requires the Topic List Previews plugin to be installed.
  • Select your news category using the discourse news category setting.
  • If you want an rss feed of your news, just use the category rss feed, e.g. /c/news.rss.

(Justin DiRose) #2

I just tried the demo site and got an error stating that you can’t view the News feed without logging in. Is that by design?


(Eduardo Braga) #3

It’s the plugin I’ve always wanted :grinning:

Can comments be added?


(Angus McLeod) #4

Originally yes, but not for the public version. I’ve fixed that. Thanks!

Yes, but it would require a fair bit more work. Happy to do this as a paid job.


(Merlls Rizzini) #5

Amazing plugin. I have more ideas to discuss with Angus to make it even better.


(Patrick Rien) #6

@angus awesome plugin, thank you!

Would it be possible to display topics in “News” by a tag(s) rather than a category? In my forum, would be great if users could post topics in any category and a “news” tag, which then aggregate all of those topics to a single News feed (regardless of category).


#7

Hey @angus, great plugin! My community also enjoys the Topic List Preview, so thank you for that!

I made some quick mockup to see if it’s possible in future releases of News plugin to have some layout and posts options:

  • To have featured topic on top, large
  • Choose a number of columns for topics after that
  • To add byline, date


I like suggested idea to display tagged topics on the News page.

I hope the development of this plugin can help communities to move from Wordpress or using two platforms into one. This type of CSMish approach will do for us. We have reviews and some articles which we will like to present in a different way than standard Discourse posts. I imagine using the News page as the front page of the website. Thanks again!


(Angus McLeod) #8

Yes, this is possible, but I won’t be able to fit it in as an open source task for a while.

This is great! Thanks for that design inspiration. I’m may well get to this one soonish given it’s mostly style change :+1:


(Riza) #9

Hi, this is an interesting plugin. I want to confirm something before I install and rebuild my instance.

My discourse instance is set to private, but once in a while I also want to write public content, something like a blog page, that people can see it without logging in. Will this plugin allow me to do such things?


#10

(post withdrawn by author, will be automatically deleted in 24 hours unless flagged)