Skip to content

Restoring old posts#443

Open
ozh wants to merge 8 commits into
mainfrom
ozh/old-posts
Open

Restoring old posts#443
ozh wants to merge 8 commits into
mainfrom
ozh/old-posts

Conversation

@ozh
Copy link
Copy Markdown
Member

@ozh ozh commented May 1, 2026

Everything (but one post actually) restored from the ashes of the old site -- text and images

Blog sidebar extended a bit (last 5 -> 10 posts) to make things more lively

Everything (but one post actually) restored from the ashes of the old site -- text and images

Blog sidebar extended a bit (last 5 -> 10 posts) to make things more lively
@ozh ozh requested a review from a team as a code owner May 1, 2026 22:58
@cloudflare-workers-and-pages
Copy link
Copy Markdown

cloudflare-workers-and-pages Bot commented May 1, 2026

Deploying with  Cloudflare Workers  Cloudflare Workers

The latest updates on your project. Learn more about integrating Git with Workers.

Status Name Latest Commit Updated (UTC)
❌ Deployment failed
View logs
website dcbbe6a May 11 2026, 08:38 PM

Copy link
Copy Markdown
Member

@LeoColomb LeoColomb left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That's a lot back! 😁
It's good to see this be done 👍

I believe some articles should probably not be imported as-is, see my comments inline.

Some more remarks:

  • Is there a reason a date field is added to every file? It's supposed to be retrieved from the title.
  • Is there a reason posts without assets are made in a folder?

Comment thread blog/2010-09-23-hello-world/index.md Outdated
Comment thread blog/2011-01-02-happy-new-year-and-a-plugin/index.md Outdated
Comment thread blog/2011-02-14-showcase-a-twitter-bot-with-yourls/index.md Outdated
Comment thread blog/2011-03-07-yourls-plugin-example-conditional-toolbar/index.md Outdated
Comment thread blog/2011-04-26-yourls-identi-ca-and-tumblr-plugins/index.md Outdated
Comment thread blog/2012-06-13-forums/index.md Outdated
Comment thread blog/2012-08-29-yourls-1-5-1-released/index.md Outdated
Comment thread blog/2013-03-21-getting-spam-links-in-yourls-read-this/index.md Outdated
Comment thread blog/2020-04-16-twitter/index.md Outdated
@ozh
Copy link
Copy Markdown
Member Author

ozh commented May 5, 2026

While at it I wanted to add a link to the archive in the blog sidebar, but according to Claude adding a hardcoded link there requires to edit 177 files so I went meh

ozh added 2 commits May 8, 2026 18:39
Replace letters with other letters that produce absolutely the same result. Probably my most useless commit ever, and yes, I will never stop to say I despise linters. They add useless bureaucracy to software development.
@ozh
Copy link
Copy Markdown
Member Author

ozh commented May 8, 2026

Some more remarks:

* Is there a reason a `date` field is added to every file? It's supposed to be retrieved from the title.

Removed every date field, added missing authors field.

* Is there a reason posts without assets are made in a folder?

I didn't mind this, but it's all flattened now (I've always thought that having either files or directories lacks consistency, and somehow makes weird directory listing when you have folders listed before files)

Copy link
Copy Markdown
Member

@LeoColomb LeoColomb left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the second pass, @ozh! Feels much easier to review already.
Seems pretty good.
The main issue is that some links are outdated, and many (more than the one reported inline) are unsecure.

Comment thread blog/2012-10-04-working-on-yourls-1-6-the-next-db-structure/index.md Outdated
Comment thread blog/2012-10-04-working-on-yourls-1-6-the-next-db-structure/index.md Outdated
Comment thread blog/2014-01-13-whats-new-in-yourls-1-7-better-http-requests-handling/index.md Outdated
Comment thread blog/2014-01-13-whats-new-in-yourls-1-7-better-http-requests-handling/index.md Outdated
Comment thread blog/2011-04-21-twenty-ten-ish-yourls-interface.md
Comment thread blog/2011-04-24-yourls-abuse-anti-spam-plugins.md Outdated
Comment thread blog/2011-04-24-yourls-abuse-anti-spam-plugins.md
Comment thread check.sh Outdated
ozh and others added 2 commits May 11, 2026 22:34
Co-authored-by: Léo Colombaro <LeoColomb@users.noreply.github.com>
@ozh
Copy link
Copy Markdown
Member Author

ozh commented May 11, 2026

All suggestions applied. Regarding dead links : well I think it's quite unavoidable on old posts. They are witnesses of the past 🤷‍♀️️ 😃

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants