/    Sign up×
Community /Pin to ProfileBookmark

Update page for homemade blog

Earlier today I made a basic blog page ([url]www.harrymills.co.uk/blog.html[/url]) using CSS([url]www.harrymills.co.uk/cssStuff/harrymillsv3.css[/url]) but to add stuff I have to edit the code of the page and reupload it. Also due to the way I have done it the content area is a set size and the blogs fit into that so when I have posted a few I will have to fiddle with the code to add another page.
I was wondering if it is possible to make an update page that I can use to update my blog and set it up so the blogs are sorted by last posted with the page expanding to fit them on showing say, the last 10-20 blogs.
Any ideas?

to post a comment
Full-stack Developer

4 Comments(s)

Copy linkTweet thisAlerts:
@Dathor_VerloxauthorJan 29.2004 — The HTML for the page:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"

"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">

<head>

<title>harrymills.co.uk - Blog</title>

<meta http-equiv="Content-Type" content="application/xhtml+xml; charset=iso-8859-1" />

<link href="cssStuff/harrymillsv3.css" rel="stylesheet" type="text/css" />

<style type="text/css">

/*<![CDATA[*/

@import "harrymillsBlog.css";

/*]]>*/

</style>

</head>

<body>

<div id="topbanner">

<h1 id="title">harrymills.co.uk - Blog</h1>

</div>

<div id="leftcontent">

<h2>Navigation Links</h2>

<ul>

<li class="blogDate">Website Development</li>
<li>Deus ex Machina</li>
<li>Misc. Stuff</li>
<li><a href="http://www.xsorbit6.com/users/harrymills/index.cgi">Forum</a></li>
<li><a href="blog.html">Blog</a></li>
</ul>
</div>
<div id=maincontent>
<div class=blog>
<h3 class=blogTitle>Proof of Dogs living on Neptune - 29/1/04</h3>
If there are approximatly 500 different breeds of dogs and they either are on Neptune or they're not
on Neptune then there is a 50% chance that there is a dog from each breed on Neptune. Therefore there
is a 50% chance that a dog from that breed does not live on Neptune. The chance of all 500 different
breeds not existing on Neptune is equal to 1/2^500, aka nearly impossible therefore I can conclude
that the chance of some breed of dog existing on Neptune is almost certain (1-(1/2^500)).
</div>
</div>

</body>

</html>

And the CSS:

/* CSS Document */

div#topbanner {

padding: 0;

margin: 10px 0 5px 210px;

width: 785px;

height: 75px;

border: 1px solid #ff9900;

background-color: #ffecbf;

}

h1#title {

padding: 0;

margin: 0;

line-height:75px;

}

div#leftcontent {

position: absolute;

top: 5px;

left: 5px;

padding: 0;

margin: 5px 0 0 0;

width: 200px;

height: 575px;

border: 1px dashed #000080;

background-color: #aed7ff;

}

div#maincontent {

padding: 0;

margin: 0 0 0 210px;

width: 785px;

height: 495px;

border: 1px solid #000080;

background-color: #aed7ff;

}

body {

padding: 0;

margin: 0;

font-family: Verdana, Tahoma, Arial;

color: #000066;

font-size: small;

}

h2 {

font-family: Verdana, Tahoma, Arial;

font-size: large;

font-variant: small-caps;

color: #000066;

}

div.blog {

border-top: thin none #000066;

border-right: thin none #000066;

border-bottom: thin dashed #000066;

border-left: thin none #000066;

font-family: Verdana, Tahoma, Arial;

font-size: small;

color: #000066;

}

h3.blogTitle {

font-family: Verdana, Tahoma, Arial;

font-size: small;

font-weight: bold;

color: #000066;

font-variant: small-caps;

}
Copy linkTweet thisAlerts:
@spufiJan 29.2004 — Here's the thing, for my site I had kind of a blog thing going that I hand coded myself. I did that for about a year and I learned a lot while playing around with my site. I eventually just got tired of the hand coding management of it all. Thankfully a guy showed me a really sweet open source blogging tool and I've switched over to it. Changing how many post shown is changed in a drop down menu, as is a number of things. All your host needs is PHP and MySQL. The code is also XHTML based with a externally linked CSS file.

On another fourm the admin is creating a sub domian for some posters to have blogs on and I'm one of the support people for the subdomain blog users who might not be that great at changing the XHTML/CSS around. They are also having a design contest to see who can create the best design using the default XHTML file. Kind of like CSS Zen Garden did, but Word Press's markup wasn't built for maximum design flexibilty, and there is an actual prize for this one contest. Not that CSS Zen Garden is really a contest.

For a demo you can go here, and yes, I would easily recommend Word Press over Moveable Type, or any other blogging tool.

http://www.opensourcecms.com/modules.php?name=Content&pa=showpage&pid=19
Copy linkTweet thisAlerts:
@Dathor_VerloxauthorJan 29.2004 — Thanks for all the help,

Do you need MySQL for Word Press?

My hosting plan doesn't have it.
Copy linkTweet thisAlerts:
@spufiJan 29.2004 — Unfortunately, yes it does require MySQL. I stated that in my post. Anyway, I know Pyro wrote a blogging tool that uses XHTML/PHP/CSS, but you would have to buy it. I believe instead of using a database, he uses XML files to store infomation, so you don't need a database to pull a blogging tool off. It certainly helps though. When Pyro gets back from his ski trip, I'm sure he can give you some tips on how to pull off what you are trying to do. Of course if anybody else has any ideas, then they can give their two cents too.
×

Success!

Help @Dathor_Verlox spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.16,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,
)...