Entrance Chat Gallery Guilds Search Everyone Wiki Login Register

Welcome, Guest. Please login or register. - Thinking of joining the forum??
November 07, 2025 - @884.99 (what is this?)
Activity rating: Four Stars Posts & Arts: 64/1k.beats Unread Topics | Unread Replies | My Stuff | Random Topic | Recent Posts Start New Topic  Submit Art
News: :eyes: ~ Inconvenience is counterculture ~ :eyes: Guild Events: Melon Jam 2025

+  MelonLand Forum
|-+  World Wild Web
| |-+  ✁ ∙ Web Crafting
| | |-+  ☔︎ ∙ I need Help!
| | | |-+  Blog File Naming Conventions / Using iFrmae?


« previous next »
Pages: [1] Print
Author Topic: Blog File Naming Conventions / Using iFrmae?  (Read 445 times)
tanuki
Jr. Member ⚓︎
**
View Profile WWWArt


Surfing the Web
⛺︎ My Room
SpaceHey: Friend Me!
StatusCafe: tanuki
iMood: tanuki
XMPP: Chat!
RSS: RSS

Artifacts:
Great Posts PacmanCubone, I Choose You!Joined 2024!
« on: November 23, 2024 @905.59 »

I am trying to add a blog to my site (without JavaScript). I would like to display a page with my current blog post, and another page where they can view an 'archived' version. Of course, I am trying to think of a way to avoid copy-pasting the entire post onto both pages.

My first idea was to attempt using an iFrame to grab an .html file and display it on both pages. However, I am unsure how to go about naming these files. I would like site/blog.html to have the most current blog, and /site/blog/date_blogTitle.html as the archived version.

Since I would like to have specific styling for the blog posts, I intended to also have them as an .html file. What should the name of these files be? I would like to have it similar to the /date_blogTitle format for the archived versions. Is there any harm in using .htm and .html file types for this (.html being the archived version on the site, and .htm being the blog post's content itself)? Should I just use a completely different name, or add an extra character somewhere to avoid any conflicts?

How do you all handle the Blog Files for your sites?
Logged
candycanearter07
Hero Member ⚓︎
*****
View Profile WWWArt


i like slimes
⛺︎ My Room
SpaceHey: Friend Me!
StatusCafe: candycanearter
Itch.io: My Games
RSS: RSS

Guild Memberships:
Artifacts:
chansey!Goomy, I Choose You!Suck At Something September - Did It!uh oh! a pigeon got in!Artsy Candy CaneJoined 2024!
« Reply #1 on: November 23, 2024 @907.00 »

I personally just use yyyy-mm-dd.md. If you want to get really fancy, I'd reccomend using jekyllrb, it has some great stuff specifically for blogs.
Logged

new to oldnet be nice





Artifact Swap: Sweet Stonecards all the way downLive Slow Die Young
tanuki
Jr. Member ⚓︎
**
View Profile WWWArt


Surfing the Web
⛺︎ My Room
SpaceHey: Friend Me!
StatusCafe: tanuki
iMood: tanuki
XMPP: Chat!
RSS: RSS

Artifacts:
Great Posts PacmanCubone, I Choose You!Joined 2024!
« Reply #2 on: November 23, 2024 @928.60 »

I personally just use yyyy-mm-dd.md. If you want to get really fancy, I'd reccomend using jekyllrb, it has some great stuff specifically for blogs.

Thanks - I really like that date format! It works for pretty much anywhere in the world. Not sure if I can use the .md since I may be adding a decent amount of styling around it. Jekyll is great too, I had used that for a personal blog when trying to get a job a few years ago.

I was thinking about this some more and may just avoid having a main blog page and separate archive page and just combine the two so I can also avoid any iFrame (for now). It will also let me design it a bit more like a journal/diary with Table of Contents
Logged
Pages: [1] Print 
« previous next »
 

Melonking.Net © Always and ever was! SMF 2.0.19 | SMF © 2021 | Privacy Notice | ~ Send Feedback ~ Forum Guide | Rules | RSS | WAP | Mobile


MelonLand Badges and Other Melon Sites!

MelonLand Project! Visit the MelonLand Forum! Support the Forum
Visit Melonking.Net! Visit the Gif Gallery! Pixel Sea TamaNOTchi