Possible to update content through text files?

This is a discussion on "Possible to update content through text files?" within the Web Page Design section. This forum, and the thread "Possible to update content through text files? are both part of the Design Your Website category.



Go Back   Webforumz.com > Main Forums > Design Your Website > Web Page Design

Notices


Reply
 
LinkBack Thread Tools
  #1 (permalink)  
Old Nov 22nd, 2006, 01:02
New Member
Join Date: Nov 2006
Location: Orlando, FL
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Possible to update content through text files?

I hope I'm posting this in the right place. I am working on creating a website for the HOA of the development that I live in. This site is going to need to be updated weekly and I would prefer to pass the updating of minor stuff, mainly text, off to member of the HOA board. None of which have any web design experience or authoring software.

I would like to keep the update process as simple as I possibly can. Is there a way to create the layout of the web site, but have the text come from a text file of some kind? This way the board members can log in and update the text in the text files which will automatically update the web content.

I'm a bit of a newbie myself to web design, so be gentle...

Thanks.
Reply With Quote

  #2 (permalink)  
Old Nov 22nd, 2006, 04:46
New Member
Join Date: Nov 2006
Location: Leeds
Age: 29
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Possible to update content through text files?

I advise you to check out <a href="http://drupal.org">Drupal</a> as it is a fantastic solution which will enable you to have users input content without them needing to know any HTML at all. It has three WYSIWYG editor modules which you could use to give the users extra control over the formatting of the content. They're a very good way to get non-programmer types to construct good looking content and are not as slow as this one I'm using to enter this content. Drupal is a vast system and, on top of the very versatile core package, it has hundreds of modules each providing additional functionality to the system. I cannot sing its praises enough.

The only down side is a bit of a steep learning curve as some of the termonology is not easy for the novice to instantly grasp and the number of possibilities provided by the modules is a tad overwelming.

There are a large number of contributed themes which, once you have installed drupal, you can simply drop into a folder and select from an administrative 'backend'. These provide a quick and easy way to get a site up that looks good and functions well.

Drupal is open source software which has many benefits. One of the key benefits in my mind is that a whole community including core developers, contributors and everyone else are all continually contributing to and bug testing the system. If you wanted to create a system with any of these features you would have to do some serious testing before you could go live.

The emphasis of drupal is to make it easy for developers and users to use the system to build and maintain a community of users but the system can be used for anything. I am currently using it for my <a href="http://www.freestylesystems.co.uk">web design site</a>. I provide drupal setup and full web design services in case you need any help.

If you don't need the lovely interface and obvious usability benefits from using this sort of system and wanted to keep to your original idea of creating text files to update content you could do it in PHP quite easily but then you would have to learn basic PHP and figure out a way to format the content (i.e. detect line breaks etc). Doesn't that sound like a lot of work? Seriously, go get <a href="http://drupal.org">Drupal</a> now!

Rich
Reply With Quote
  #3 (permalink)  
Old Nov 22nd, 2006, 07:35
Junior Member
Join Date: Jun 2006
Location: Sheffield, South Yorkshire, UK
Posts: 17
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Possible to update content through text files?

Sounds like you need a CMS "Content Management System". After you set it all up as you want it to work, they can update the content through a backend interface. You don't need text files, you can do it all from within a web browser using forms and other enhanced input technologies such as TinyMCE.

"Mambo" CMS would be a good place to start, its one of the biggest open source CMS systems. Download it for free and have a play, it may take you a while to setup but there is loads of online help available from various experts.
Reply With Quote
  #4 (permalink)  
Old Nov 22nd, 2006, 09:52
Ryan Fait's Avatar
SuperMember

SuperMember
Join Date: May 2006
Location: Las Vegas
Posts: 3,786
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Possible to update content through text files?

To answer your question directly, yes, it's possible through either JavaScript (which I highly discourage) or PHP (which I advise). You may be able to use other languages, but those are the most common two.
Reply With Quote
  #5 (permalink)  
Old Nov 22nd, 2006, 13:26
New Member
Join Date: Nov 2006
Location: Leeds
Age: 29
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Possible to update content through text files?

Hi jwilliams31,

I tried to post this last night but it wouldn't let me. I hope now that I'm posted a hello in the newcomers area this post will submit.

I agreed with mr-ecommerce and ryanfait in that you need a content management system.

I highly advise you to check out <a href="http://drupal.org">Drupal</a> as it is a fantastic solution which will enable you to have users input content without them needing to know any HTML at all. It has three WYSIWYG editor modules which you could use to give the users extra control over the formatting of the content. They're a very good way to get non-programmer types to construct good looking content and are not as slow as this one I'm using to enter this content. Drupal is a vast system and, on top of the very versatile core package, it has hundreds of modules each providing additional functionality to the system. I cannot sing its praises enough.

The only down side is a bit of a steep learning curve as some of the termonology is not easy for the novice to instantly grasp and the number of possibilities provided by the modules is a tad overwelming.

There are a large number of contributed themes which, once you have installed drupal, you can simply drop into a folder and select from an administrative 'backend'. These provide a quick and easy way to get a site up that looks good and functions well.

Drupal is open source software which has many benefits. One of the key benefits in my mind is that a whole community including core developers, contributors and everyone else are all continually contributing to and bug testing the system. If you wanted to create a system with any of these features you would have to do some serious testing before you could go live.

The emphasis of drupal is to make it easy for developers and users to use the system to build and maintain a community of users but the system can be used for anything. I am currently using it for my <a href="http://www.freestylesystems.co.uk">web design site</a>. I provide drupal setup and full web design services in case you need any help.

If you don't need the lovely interface and obvious usability benefits from using this sort of system and wanted to keep to your original idea of creating text files to update content you could do it in PHP quite easily but then you would have to learn basic PHP and figure out a way to format the content (i.e. detect line breaks etc). Doesn't that sound like a lot of work?

Seriously, go get <a href="http://drupal.org">Drupal</a> now and save yourself a lot of hassle!

Rich
Reply With Quote
  #6 (permalink)  
Old Nov 22nd, 2006, 21:41
New Member
Join Date: Nov 2006
Location: Leeds
Age: 29
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Possible to update content through text files?

I advise you to check out <a href="http://drupal.org">Drupal</a> as it is a fantastic solution which will enable you to have users input content without them needing to know any HTML at all. It has three WYSIWYG editor modules which you could use to give the users extra control over the formatting of the content. They're a very good way to get non-programmer types to construct good looking content and are not as slow as this one I'm using to enter this content. Drupal is a vast system and, on top of the very versatile core package, it has hundreds of modules each providing additional functionality to the system. I cannot sing its praises enough.

The only down side is a bit of a steep learning curve as some of the termonology is not easy for the novice to instantly grasp and the number of possibilities provided by the modules is a tad overwelming.

There are a large number of contributed themes which, once you have installed drupal, you can simply drop into a folder and select from an administrative 'backend'. These provide a quick and easy way to get a site up that looks good and functions well.

Drupal is open source software which has many benefits. One of the key benefits in my mind is that a whole community including core developers, contributors and everyone else are all continually contributing to and bug testing the system. If you wanted to create a system with any of these features you would have to do some serious testing before you could go live.

The emphasis of drupal is to make it easy for developers and users to use the system to build and maintain a community of users but the system can be used for anything. I am currently using it for my <a href="http://www.freestylesystems.co.uk">web design site</a>. I provide drupal setup and full web design services in case you need any help.

If you don't need the lovely interface and obvious usability benefits from using this sort of system and wanted to keep to your original idea of creating text files to update content you could do it in PHP quite easily but then you would have to learn basic PHP and figure out a way to format the content (i.e. detect line breaks etc). Doesn't that sound like a lot of work? Seriously, go get <a href="http://drupal.org">Drupal</a> now!

Rich
Reply With Quote
  #7 (permalink)  
Old Nov 23rd, 2006, 15:04
Junior Member
Join Date: Jun 2006
Location: Sheffield, South Yorkshire, UK
Posts: 17
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Possible to update content through text files?

TinyMCE is a set of JavaScript modules that allow you to create the dialogue boxes that contain formatting controls like the ones used in this forum. You can't create an input box with these controls, inside a browser interface, using PHP alone.

JavaScript is the best solution for creating these types of controls, the only other way I could think of doing it would involve installing an active-x control or plugin, this would be mass overkill and far less supported.

I personally use TinyMCE for creating this type of input interface, it's highly configurable and works on just about any browser. Why re-invent the wheel?

You do have to implement your own set of callback functions and their is no image manager unless you buy the upgraded version. You can code your callback routines and server side scripts in any language you choose, possibly PHP.

Last edited by mr-ecommerce; Nov 23rd, 2006 at 15:07.
Reply With Quote
  #8 (permalink)  
Old Nov 23rd, 2006, 15:28
New Member
Join Date: Nov 2006
Location: Leeds
Age: 29
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Possible to update content through text files?

I advise you to check out Drupal http://drupal.org as it is a fantastic solution which will enable you to have users input content without them needing to know any HTML at all. It has three WYSIWYG editor modules which you could use to give the users extra control over the formatting of the content. They're a very good way to get non-programmer types to construct good looking content and are not as slow as this one I'm using to enter this content. Drupal is a vast system and, on top of the very versatile core package, it has hundreds of modules each providing additional functionality to the system. I cannot sing its praises enough.

The only down side is a bit of a steep learning curve as some of the termonology is not easy for the novice to instantly grasp and the number of possibilities provided by the modules is a tad overwelming.

There are a large number of contributed themes which, once you have installed drupal, you can simply drop into a folder and select from an administrative 'backend'. These provide a quick and easy way to get a site up that looks good and functions well.

Drupal is open source software which has many benefits. One of the key benefits in my mind is that a whole community including core developers, contributors and everyone else are all continually contributing to and bug testing the system. If you wanted to create a system with any of these features you would have to do some serious testing before you could go live.

The emphasis of drupal is to make it easy for developers and users to use the system to build and maintain a community of users but the system can be used for anything. I am currently using it for my web design site http://www.freestylesystems.co.uk. I provide drupal setup and full web design services in case you need any help.

If you don't need the lovely interface and obvious usability benefits from using this sort of system and wanted to keep to your original idea of creating text files to update content you could do it in PHP quite easily but then you would have to learn basic PHP and figure out a way to format the content (i.e. detect line breaks etc). Doesn't that sound like a lot of work? Seriously, go get Drupal now!

Rich
Reply With Quote
  #9 (permalink)  
Old Nov 23rd, 2006, 17:20
Ryan Fait's Avatar
SuperMember

SuperMember
Join Date: May 2006
Location: Las Vegas
Posts: 3,786
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Possible to update content through text files?

Quote:
If you don't need the lovely interface and obvious usability benefits from using this sort of system and wanted to keep to your original idea of creating text files to update content you could do it in PHP quite easily but then you would have to learn basic PHP and figure out a way to format the content (i.e. detect line breaks etc). Doesn't that sound like a lot of work? Seriously, go get Drupal now!
Textpattern transforms pure content into valid XHTML with simple markup. It's actually quite a genius little PHP class. All you do is upload it to your sever and run text through it. It spits the XHTML right back at you.
Reply With Quote
  #10 (permalink)  
Old Nov 23rd, 2006, 17:25
Ryan Fait's Avatar
SuperMember

SuperMember
Join Date: May 2006
Location: Las Vegas
Posts: 3,786
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Possible to update content through text files?

My appologies. Textpattern is a full-on CMS. I meant Textile.
Reply With Quote
  #11 (permalink)  
Old Nov 24th, 2006, 07:26
Junior Member
Join Date: Jun 2006
Location: Sheffield, South Yorkshire, UK
Posts: 17
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Possible to update content through text files?

Drupal is a great CMS and also uses the TinyMCE module for it's wysiwyg interface. I've not heard of Textile but I'll be taking a look, thanks Ryan.
Reply With Quote
  #12 (permalink)  
Old Nov 25th, 2006, 01:17
Ryan Fait's Avatar
SuperMember

SuperMember
Join Date: May 2006
Location: Las Vegas
Posts: 3,786
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Possible to update content through text files?

No problem. Textpattern is quite a useful CMS. It's mainly used for blogging, but Textile is absolutely awesome for transforming text into valid HTML. It's not that it doesn't use markup, it's just simpler than HTML tags; it's something with a quick reference file to glance at, anyone can make it work.
Reply With Quote
  #13 (permalink)  
Old Nov 25th, 2006, 13:43
Reputable Member
Join Date: May 2006
Location: Northampton, UK
Posts: 399
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Possible to update content through text files?

Drupal may well be a fantastic CMS solution.... but did u honestly have to post about it 100 times? jeez

My advice.... use php & mysql and create you own
Reply With Quote
  #14 (permalink)  
Old Nov 25th, 2006, 14:13
New Member
Join Date: Nov 2006
Location: Leeds
Age: 29
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Possible to update content through text files?

Accurax,

The post wasn't submitting. After waiting for over 24hrs I posted it again. There seemed to be some problem with submitting as it still wasn't showing. I ended up posting that many time because I thought that there was a problem with the forum.

I have to say that I disagree with your post. Since jwilliams31 is new to web design it won't be a trivial task to go the custom route. Open source software has the advantage that it is tested continually and whilst it may be overkill for what jwilliams31 needs to achieve it will provide an excellant platform for future advancement.

Drupal also provides a good way to setup role based access which coupled with the security, WYSIWYG input modules and any others jwilliams31 may care to install it seems ideal.

Rich
Reply With Quote
  #15 (permalink)  
Old Nov 25th, 2006, 23:12
Ryan Fait's Avatar
SuperMember

SuperMember
Join Date: May 2006
Location: Las Vegas
Posts: 3,786
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Possible to update content through text files?

Haha, that's weird. I think it was a problem with WebForumz. I don't remember seeing all those duplicate posts. I could just have been blind, though.
Reply With Quote
Reply

Tags
content, text, update

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Display text files in order cedric813 PHP Forum 2 Oct 22nd, 2007 13:48
Update of What's new content thru flash website simster PHP Forum 4 Aug 7th, 2007 02:49
Help needed with text update Loobyt Web Page Design 4 May 22nd, 2006 22:58
dynamic text files in an html site crashernyc Introduce Yourself 1 Mar 31st, 2006 21:01
Databases and Text Files chris123 Databases 2 Jun 6th, 2005 18:06


All times are GMT. The time now is 13:48.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC8
© 2003-2008 Webforumz.com : All Rights Reserved

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43