Entrance Events! Chat Gallery Search Everyone Wiki Login Register

Welcome, Guest. Please login or register. - Thinking of joining the forum??
February 05, 2025 - @751.64 (what is this?)
Activity rating: Four Stars Posts & Arts: 99/1k.beats Unread Topics | Unread Replies | My Stuff | Random Topic | Recent Posts Start New Topic  Submit Art
News: :ha: :pc: Hello Melonland! :pc: :happy: Super News: E-Zine #3 Accepting Entries!

+  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 142 times)
tanuki
Casual Poster ⚓︎
*


Surfing the Web

⛺︎ My Room
SpaceHey: Friend Me!
XMPP: Chat!
RSS: RSS

View Profile WWW

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
Sr. Member ⚓︎
****


i like slimes

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

View Profile WWWArt

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




tanuki
Casual Poster ⚓︎
*


Surfing the Web

⛺︎ My Room
SpaceHey: Friend Me!
XMPP: Chat!
RSS: RSS

View Profile WWW

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 »
 

Vaguely similar topics! (3)

I started a blog!

Started by MelooonBoard ☆ ∙ Community Projects

Replies: 0
Views: 1676
Last post May 16, 2022 @437.16
by Melooon
What do you blog about?

Started by NightdriftBoard ✑ ∙ Writing & Stationery

Replies: 42
Views: 7078
Last post August 31, 2024 @725.64
by candycanearter07
I'm thinking of making a blog

Started by MrsMoeBoard ✑ ∙ Writing & Stationery

Replies: 3
Views: 1687
Last post July 16, 2023 @208.53
by starbreaker

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