You are here: Re: loading web content from a text file « HTML « IT news, forums, messages
Re: loading web content from a text file

Posted by miphize on 11/17/96 11:28

"David Dorward" <dorward@yahoo.com> wrote in message
news:dhur54$o41$1$8302bc10@news.demon.co.uk...
> miphize wrote:
>
>> Have created a webpage as a template with a stylesheet, however am trying
>> to get the page to load content from content.txt file with little
>> success.
>
>> The reason i am trying to do this is so that i can update the content
>> without bothering with the html or javasript code.
>
> The key is to use software that will take your text and output HTML.
> Something like Markdown (which is written in Perl and has been ported to
> other languages including PHP).
>
> This software could run on your workstation before you upload the pages
> (preprocessing) or on the server each time that page is requested[1]
> (server side programming).
>
>> Currently have been wrestling with this for ages and read loads of books
>> on html/dhtml and javascript, i must be missing something but just not
>> able to find a solution.
>
> HTML is a language for describing the structure and semantics of a
> document
> along with its relationship to other resources.
>
> DHTML is a buzzword that generally means HTML + CSS + JavaScript + DOM.
>
> JavaScript is a programming language commonly embedded in HTML documents
> to
> produce visual effects or provide convenience functions for the user (such
> as warning them that data they are entering in a form doesn't meet certain
> requirements).
>
> None of them are a good solution for the problem you have described.
>
> [1] Although there might be a server side cache to avoid rerunning the
> script when it isn't needed.
>
> --
> David Dorward <http://blog.dorward.me.uk/> <http://dorward.me.uk/>
> Home is where the ~/.bashrc is

Thank you very much, I thought I were looking in the wrong places and you
have explained better than any of my supposedly web developer friends.

Me thinks its a simple idea adding/changing/updating web content from a text
file using CSS to do the formatting. Create a standard display of readable
content, the lazy way of updating websites without the boring html and code
<tags>.

I know there is no simple solution, Markdown seems to be a step in the right
direction although I'm not sure about Perl.

Thx
M

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация