Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

blog publishing 3

Status
Not open for further replies.

cLFlaVA

Programmer
Jun 14, 2004
6,450
US
hi all.

i'm just curious to find out some information regarding the publishing of blogs. i have my own site set up where i can enter my blog and store it in a database. my only fear is that, when i eventually set up an rss feed, the fact that the page is not a permanent page (instead, it gets passed an id to pull from the database) will cause problems.

maybe i just don't fully understand rss feeds.

i've seen blogs with the following as a url:


and then the actual title is something like

This is my "Blog" Title

how is this done? i doubt it's with a modrewrite (php). is this blogger's site generating static html pages?

if so, how do the links get generated dynamically, for example, in his blog title list?

please let me know if i'm being confusing.

Thanks a lot!

Cory

*cLFlaVA
----------------------------
[tt]your mom goes to college[/tt]
[URL unfurl="true"]http://www.coryarthus.com/[/url]
[banghead]
 
Hi

cLFlaVA said:
is this blogger's site generating static html pages?
Yes, some of them. For example NanoBlogger :

Such blog engines keep the data in brut format, usually in plain text files. After each addition/modification they regenerate all changed pages and RSS feeds.

Feherke.
 
can anyone provide me with a more complete description as to how this is commonly pursued?

i don't have a unix machine so checking out nanoblogger won't do me much good.

thanks,

cory

*cLFlaVA
----------------------------
[tt]your mom goes to college[/tt]
[URL unfurl="true"]http://www.coryarthus.com/[/url]
[banghead]
 
the fact that the page is not a permanent page (instead, it gets passed an id to pull from the database)
Surely you can make permanent links that use IDs? There's nothing intrinsically more "permanent" about example.com/posts/some_title.htm over example.com/posts.php?id=99 , so long as you don't renumber your posts for some reason. There used to be an SEO hit involved, but not really these days.

Personally, I think it's easier to use a ready-made blogging package (get an open-source one that you can tinker with if you feel the need) than to roll your own. Why reinvent the wheel?

-- Chris Hunt
Webmaster & Tragedian
Extra Connections Ltd
 
Why reinvent the wheel?

Chris - i know there are several prepackaged blogging utilities out there (moveable type, etc.), but i'm a bit of a perfectionist. not to say that these packages aren't well done - they're probably better than i could do - but i enjoy a) the complete control and b) the learning experience.

so you're saying there's nothing intrinsically wrong with something like which is mod-rewritten to news.php?id=34?

*cLFlaVA
----------------------------
[tt]your mom goes to college[/tt]
[URL unfurl="true"]http://www.coryarthus.com/[/url]
[banghead]
 
The server-side code behind the blog (most often PHP) will just publish static pages that use the title as the page name.

With most blogging software this can be published to your site via FTP or on the same site.

Chris.

Indifference will be the downfall of mankind, but who cares?
Woo Hoo! the cobblers kids get new shoes.
People Counting Systems

So long, and thanks for all the fish.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top