Skip to content

[Feature] recover old and historic news items and make them available via news.md #25

@lcn2

Description

@lcn2

Is there an existing issue for this?

  • I have searched for existing issues and did not find anything like this

Describe the feature

It might be fun to restore old news items and make them available.

We don’t propose adding then to news.md directly as that might make the resulting web page excessively long and full of mostly outdated news items. Instead one might add them to some new archive/news/ directory. The bottom of the news.md file could indicate that older news items are available via some archive/news/index.html (via archive/news/README.md markdown file) file.

The archive/news/README.md file could have sections by calendar year with a table of contents at the top.

When the existing news.md file needs old news to be “cleaned out”, instead of removing them, such news items could be moved over into the archive/news/README.md file.

Relevant images, screenshots or other files

N/A

Relevant links

See issue 2686 from the temp-test-ioccc repo for the previous TODO item

Anything else?

Remarks from the previous TODO item

Suggestion: rather than make all in news.html make it in one of the following locations:

  • archive/news (news.md and news.html ? Not sure but the downside of here is that there's no link in the menu).
  • news/archived.html (from md file like all the others).
  • old-news.html
  • something else (what?) ?

The reason is to make the news page not really long.

Another option that might be better yet is below.

Have a subdirectory called news with the current news file being recent.html. The top level news.html can be a symlink to that file OR in the menu it can link to it.

Then separate the old news based on the year. Or maybe based on which IOCCC it was (does the 28th contest at the 29th end up having the news in between the two or would it be in the 29th?).

Downside to this idea is that there would be a lot of files. If that's a problem it might be by every N years (maybe 5 but not sure)?

On the other hand the fact the news isn't updated that often might mean not many files are even needed and it could even be a single old file (archived news) and the recent news. Or even just one file.

Personally I think the last idea might be the most ideal but maybe a subdirectory is useful (but it might not be either).

Remarks from the original TODO item

On possible idea is to adopt some sort of archival news page as suggested by comment-2158965619. If that is done, some way back machine digging and/or repo history digging should be done to recover some historical news that has been "lost".

We suggest that a new directory archive/news/ be created so that old news from, say 2019 could go into archive/news/2019.news.md from which archive/news/2019.news.html would be built by bin tools. The file archive/news/README.md would hold an inventory/table of contents linking to the individual archived news year pages and the bin tools could use that README to form archive/news/index.html.

The bottom of the top level news.md would always hold some sort of "for older IOCCC news, see the IOCCC news archive" that would link to the archive/news/index.html archived news page.

Consider if we should or shouldn't think out news.md and retain high level items. However, also consider comment-2158965619 as a reason not to thin out the news.

See also 2003 website archive as per comment-2180597422.

Priority

This issue should be considered after IOCCC28 is complete.

Metadata

Metadata

Assignees

Labels

background priorityWhile this issue is needs to be solved, it is of a somewhat lower priority.enhancementNew feature or requestpost-IOCCC29All work and comments delayed until post-IOCCC29 and post IOCCC judge vacation.websiteThis issue involves the web site

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions