News Plugin 📰

Tried it and it looks a lot better now! Two things though, content overflows into the sidebar, and could we get a setting to not add the “News” item to the header menu? I want to put it somewhere else instead.

I tried using your bug report and feature request site but it would not let me create an account via GitHub or Google and then I gave up :smiley:

3 Likes

Thanks for the feedback.

Could you share an example of this?

Could you also share an example of this? I just tried both and they’re working as expected.

Assuming you can get the signup to work, submit this one as a feature request and I’ll handle it later in the week :+1:

1 Like

Try something like this, I sadly can’t post the exact content because secret project:

## Highlights
- Added "dddddddddddddddddddd" framework.
- The <kbd>SHIFT</kbd> + <kbd>X</kbd> hotkey ddddddddddddddddddddddddddddddddd
- **Breaking Change**:
    - `dddddddddddd` property has been deprecated. Replacement is the `dddddddddd` property. Possible values: `ddddddddddddddddddddddddddd`.
    - `dddddddddddddddddd` property has been deprecated. Replacement is the `ddddddddd` property. Possible values: ddddddddddddddddddddddddddddd`.
    - `dddddddddddddddddddddddddddddd` has been deprecated. Replacement is `ddddddddddddddddddddddddddddddddddddddd`.
    - `dddddddddddddddddddd` type has been renamed to `ddddddddddddddddd`.
    - `dddddddddddddddddt` returns the parameters `dddddddddddddddddd` instead of `ddddddddddddddddddd` to ensure consistency with other events.
    - In both changes, old code will continue to work but may produce deprecation warnings.

dddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddd;

        - ddddddddddddddddddddddddddddddddd:
            - `dddddddddddddddddddddddddddddddddddddddddddd` -> `ddddddddddddddddddddddddddddddddddddddddddddddddddddd`
            - `dddddddddddddddddddddddddddddddddddddddddddddd` -> `ddddddddddddddddddddddddddddddddddddddddddddddd`
        - ddddddddddddddddddddddddddddddddddd:
            - `dddddddddddddddddddddddddddddddddddddddd` -> `ddddddddddddddddddddddddddddddddddddddddddd`
            - `ddddddddddddddddddddddddddddddddddddddddddd` -> `dddddddddddddddddddddddddddddddddddddddddddddd`
- A lot of bug fixes!
2 Likes

Thanks, I’ve tweaked the CSS to deal with wide code blocks in the news feed.

https://github.com/paviliondev/discourse-news/commit/4934522456302fc7c2b7e37ad0e9b06c784f9a90

4 Likes

Wonderful! I noticed that code block syntax highlighting is not working as well. Shall I continue your reporting my findings in here or would you prefer your website? (I got the login working by just using my email instead)

@angus were “Comments” added to the v0.2 of this New Plugin?

We have a completely free/open forum and I want to feature an RSS news feed of relevant news articles to our community members, and most importantly, allow them to talk about the article. News is great. But the conversation around the news is the best part… encouraging civilized discussion around the latest news in our industry.

Is there a way to add comment functionality? Like tying in the work that’s been done here?

1 Like

Just to clarify, you’re saying you’d like the RSS news feed to import the RSS topics into Discourse?

Adding comment functionality means having a Discourse topic for each news item.

5 Likes

Yes! Maybe this already exists or there is a workaround. I might be using the wrong terms. Maybe RSS isn’t the best approach ¯_(ツ)_/¯ Here’s the use case, and maybe you can help me translate it into “what I’m actually needing”… and I’ll add one variation from my last message…

We want to have articles automatically coming into our community “News” category, as individual new Discourse Topic for each news article. This would be the main content, and then users could click a link or somethinbg to “Read more…” or “Keep reading” which would take them to the news source, and then beneath that OP topic, users would be able to comment and discuss the news article.

@codinghorror gave some great sentiment here, which makes me think… we don’t want EVERY news article from the RSS feed to be automatially posted. We want them to automatically come into discourse, but maybe create a “Draft” or “hidden” topic that cannot be seen. Then our inner circle of moderators could determin which articles they want to toggle as visible to the community (or publish it). They could also delete the articles that feels spammy and that they don’t think people will like.

Thoughts?

2 Likes

When embedding images in posts via the direct upload method, the news plugin only display one on the /news route view. If that image was someone in the text, it still displays it at the top of the post but then also removes it from the place it was inlined in.

1 Like

I’m having multiple categories.

Is it possible to have a news/rss section on some of these categories but with a different rss feed url? Some categories wouldnt have a rss / news section.

When are the rss / news feeds updated / synced?

1 Like

Looks like the recent Discourse beta changes broke this addon quite a bit, sadly the Docker updater threw me onto some alpha instead of the last beta release :confused:

3 Likes

Quote… I have error when I try to install it:

{"plugins":[{"id":"babble","name":"babble","version":"4.2.0","url":"https://github.com/gdpelican/babble","enabled":true,"enabled_setting":"babble_enabled","has_settings":true,"is_official":false},{"id":"discourse-adplugin","name":"discourse-adplugin","version":"1.2.5","url":"https://github.com/discourse/discourse-adplugin","admin_route":{"location":"houseAds","label":"admin.adplugin.house_ads.title","full_location":"adminPlugins.houseAds"},"enabled":true,"has_settings":true,"is_official":true},{"id":"discourse-cakeday","name":"discourse-cakeday","version":"0.2","url":"https://github.com/discourse/discourse-cakeday","enabled":true,"has_settings":true,"is_official":true},{"id":"discourse-events","name":"discourse-events","version":"0.1","url":"https://github.com/angusmcleod/discourse-events","enabled":true,"has_settings":true,"is_official":false},{"id":"discourse-formatting-toolbar","name":"discourse-formatting-toolbar","version":"3.2","url":"https://github.com/iunctis/discourse-formatting-toolbar.git","enabled":true,"enabled_setting":"formattingtlb_enabled","has_settings":true,"is_official":false},{"id":"discourse-rss-polling","name":"discourse-rss-polling","version":"0.0.1","url":"https://github.com/discourse/discourse-rss-polling","admin_route":{"location":"rss_polling","label":"rss_polling.title","full_location":"adminPlugins.rss_polling"},"enabled":true,"enabled_setting":"rss_polling_enabled","has_settings":true,"is_official":true},{"id":"discourse-topic-previews","name":"discourse-topic-list-previews","version":"4.4.0","url":"https://github.com/paviliondev/discourse-topic-previews","enabled":true,"enabled_setting":"topic_list_previews_enabled","has_settings":true,"is_official":false},{"id":"discourse-whos-online","name":"discourse-whos-online","version":"1.0","url":"https://github.com/davidtaylorhq/discourse-whos-online","enabled":true,"enabled_setting":"whos_online_enabled","has_settings":true,"is_official":false},{"id":"docker_manager","name":"docker_manager","version":"0.1","url":"https://github.com/discourse/docker_manager","enabled":true,"has_settings":false,"is_official":true}]}

And in SSH console I have errors about bootstrap :frowning:

1 Like

Ops, git link is this: https://github.com/paviliondev/discourse-news.git

not https://github.com/paviliondev/discourse-news

Now I re-try to install

1 Like

It works, also if I understood that it edited directly a category page, not that it grouped all the latest topics from the categories and put them in a new link (the News link)

1 Like

I know that this adds a “News” link in the header, but is there any way for us to re-arrange the order? I was using the Custom header links theme component before but since this plugin adds a new link, it will always appear last.

1 Like

Hi, Love this plugin and want to use it on a new site I’m planning.

I had a question about speed/load times for the home page using this plugin / discourse implementation. how does it compare with a lightweight Wordpress home page? Any ideas?

Also - any feedback from existing users on how solid/reliable this plugin is (other than the most recent discourse update/version issue).

Any bugs / issues that people are having issues with? is that problem mentioned by Stanzilla on Feb. 20th above still existing - where embedded images in posts only show up in the /news view?

Thanks!

1 Like

Have you tried putting the link to News into the Custom header links TC settings and hide the News Plugin link with CSS?

3 Likes

Is it possible to add an option that doesn’t show images at the top of the title? I’m getting double images sometimes. In my topic if I post a youtube link, it shows the thumbnail of that youtube at the top of the title AND the embed view of the youtube below the title. So now I have two large duplicate images.

The Blog Style Post Theme Component solves this by adding this:

I ended up just using CSS to hide the thumbnail above the title:

#list-area.news .contents .topic-list tbody tr.topic-list-item:first-of-type .news-item-thumbnail {
    display: none;
}
1 Like

I’ve noticed that this plugin will show the first image of a post / article at the top, either below the title or above, but will omit all other images in an article. This isn’t great for news articles that have other important images.

Even youtube links only show as an image rather than an embed video. When visiting the actual topic, one can play a youtube link without having to go to youtube externally. However, with the news plugin, it forces user to click on the video thumbnail and go to an external link.

Is it possible to just show the topic feed exactly the same way as it’s shown in the topic with no special formatting? That is, we would pick which categories we’d want the news feed to be from and it would just show those topics.

Basically, just need to use this plugin to generate a feed from specific categories. Don’t need it to change the layout or anything else.

3 Likes

Plugin breaks menu on the newest discourse version…

1 Like