View Full Version : coding an "offline" blog
12-06-2009, 09:07 PM
I am looking to make a blog-style website that only I will post to you and will never be published online. This probably seems strange but hear me out... I really love Tumblr's interface and it's page themes but I have no use for other people to look at my posts and I do not care to look at other people's. I want to maintain my blog simply as a personal journal that I can look back on and put pictures, songs, and other ideas next to a date so I have some sort of reference and timeline.
I am by no means a programmer but I have taken a few college courses as is required for all engineering students at my university so I can sort of see what would be needed. I would first I need to grab the CSS to maintain the blogs theme. However, I would also need to setup my own posting system that would take whatever media I was posting and place it to the page with correct formatting and with a date next to it. This is where I get lost... could someone offer some insight? I am looking for hard code advice or just theoretical ideas. Thanks!
12-06-2009, 09:48 PM
You could install a web server on your computer, then just create a blog at http://localhost. As long as you keep port 80 closed no one else can see it.
Edit - this is how I did it on Win7: http://maximumpcguides.com/windows-vista/how-to-create-a-windows-vista-iis7-mysql-php-web-server/
12-07-2009, 05:51 AM
thanks for the suggestion. that seems like a fun possibility, I could always create a private tumblr blog that requires a password to view but for what I need, it would be nice to not even have to log on to the internet/sign in to tumblr.
my first task is finding a way to distinguish what kind of content I am posting so that the css knows what to do with it. for example, when I post a picture to my tumblr... it resizes it to a width of 400px and places a colored border around it. If I post a quote it formats the quote to verdana size 10 and places a quotation mark (") in front of it that is also font face verdana and two sizes bigger than the text. everything is nicely formated... and again... dates would have to be included with all submissions.
I'm not expecting any actual hard code as advice seeing as this is a very conceptual idea still but pointing me in the right direction would be awesome!
12-07-2009, 10:57 AM
I think you might want to look into Wordpress. It can handle the auto-formating you are talking about right out of the box. Easy to set up and use. Lots of pre-made templates you could choose from (or you could make your own). Lots of plugins to give you most any functionality you may need.
What you are talking about is just your typical blog, but private. Why re-invent the wheel. Wordpress is free as well and there is lots of information and support available for it because so many people are using it.
You could set that up on a server on your own system as well. You could even setup an Apache web server PHP and MySQL on a USB stick (search google for portable Apache, there are several options for preconfigured portable Apache installations that are pretty much all set up with PHP, MySQL, and admin tools and ready to just copy onto your USB stick). Then install Wordpress on your Portable Apache webserver. Then you could take your private blog anywhere in your pocket and access it on any computer.
The other option would be to just set it up online with a real webhost. Wordpress can be configured with user accounts that have different privileges so you could still keep it private. You could also use a simple .htaccess file to lock down the website online so people couldn't access it without logging in.
One word of warning though. Most of those preconfigured portable Apache packages are setup for easy of use on your computer with very open permissions. Not secure at all. It doesn't really matter if you only run it privately as localhost because no one could access it. But don't try to actually host your site online with a preconfigured Apache setup. That could be dangerous unless you know what your doing and take steps to lock down the Apache, PHP, and MySQL configs/permissions/etc..
Powered by vBulletin® Version 4.2.2 Copyright © 2017 vBulletin Solutions, Inc. All rights reserved.