#836 Automatic inclusion of news in sidebar does not work

Open
opened 7 months ago by reinhard · 3 comments

There is a feature to have started, documented (as currently disabled) and used in several places. It is intended to include a dynamic news feed related to a given tag in the sidebar of a page, for example an article about Free Software in universities could have to show the latest news about Free Software in education.

This is in unfinished state for years. We should either finish it or discard it (and clean out all the stuff related to it).

There is a feature to have <sidebar news="..."> started, documented (as currently disabled) and used in several places. It is intended to include a dynamic news feed related to a given tag in the sidebar of a page, for example an article about Free Software in universities could have <sidebar news="education"> to show the latest news about Free Software in education. This is in unfinished state for years. We should either finish it or discard it (and clean out all the stuff related to it).
reinhard added the
build
label 7 months ago
reinhard added the
xsl
label 7 months ago
max.mehl commented 7 months ago
Owner

Hm, I think it works. I extended the template of “fetch-news” to also include entries in a sidebar, as you can see on https://fsfe.org/activities/radiodirective/

Or do you mean automatically showing news of the same tag as a news item has in its sidebar? If so, you could still make use of the enhanced fetch-news template.

Hm, I think it works. I extended the template of "fetch-news" to also include entries in a sidebar, as you can see on https://fsfe.org/activities/radiodirective/ Or do you mean automatically showing news of the same tag as a news item has in its sidebar? If so, you could still make use of the enhanced fetch-news template.
reinhard commented 7 months ago
Poster

From https://fsfe.org/contribute/template.de.html:

You can also give parameters to your sidebar. This page has the following sidebar parameters:

<sidebar news="ilovefs" promo="about-fsfe">

The news value is a tag. It’s going to fetch some news items that match the given tag and display them in the sidebar. For matter of demonstration, this page displays links to news items with the “ilovefs” tag.

Note: The news feature of the sidebar is disabled until Nicolas finds a better way of building the tag. Your help is welcome!

That’s the feature I’m talking about.

From https://fsfe.org/contribute/template.de.html: > You can also give parameters to your sidebar. This page has the following sidebar parameters: > > `<sidebar news="ilovefs" promo="about-fsfe">` > > The news value is a tag. It’s going to fetch some news items that match the given tag and display them in the sidebar. For matter of demonstration, this page displays links to news items with the "ilovefs" tag. > > Note: The news feature of the sidebar is disabled until Nicolas finds a better way of building the tag. Your help is welcome! That's the feature I'm talking about.
max.mehl commented 7 months ago
Owner

Ah, didn’t know that, thanks.

Well, nice feature and having this would be quite nice if one doesn’t have to create the .xsl and .sources files in order to enable it (this is what one would have to do with the mentioned fetch-news solution.

Ah, didn't know that, thanks. Well, nice feature and having this would be quite nice if one doesn't have to create the .xsl and .sources files in order to enable it (this is what one would have to do with the mentioned fetch-news solution.
Sign in to join this conversation.
No Milestone
No Assignees
2 Participants
Due Date

No due date set.

Dependencies

This issue currently doesn't have any dependencies.

Loading…
Cancel
Save
There is no content yet.