View Full Version : web 2.0, tagging, hypertext, smart webpage
benreynolds4
05-24-2008, 06:22 PM
i have a feeling this is the start of a long journey to implement this. However....
how is it possible to put tags into a webpage when you make a simple text post?
I think it is our duty to design smart - and not to succumb to templates, open-cms, joomla etc.
Any ideas?
Ben
Palacepalace dot com
binaryWeapon
05-24-2008, 10:53 PM
Look into php fopen/fwrite. It will have to be a server-side language no matter what, to edit the file on the server. You don't have to have a database, but they're useful. Depends on how complex a system you want.
http://www.tizag.com/phpT/files.php
oesxyl
05-25-2008, 05:32 PM
i have a feeling this is the start of a long journey to implement this. However....
how is it possible to put tags into a webpage when you make a simple text post?
you must give details about what you want to achive and at least some idea about what you can use to generate/include content in the page.
I think it is our duty to design smart - and not to succumb to templates, open-cms, joomla etc.
:), agree, :)
regards
benreynolds4
05-25-2008, 08:22 PM
oesxyl...
i have a div and in that div i have a iframe that is referencing another html file....the file is just for adding some 'news' in basic format (text really) but it is like that so we don't have to keep updating the main html.
however after each of the posts it would be great to have a tagging system to reference what we are talking about - a lot like blogger style - without succumbing to standardised formats......
do you have any ideas on where to start
much appreciated.
ben
oesxyl
05-26-2008, 08:26 PM
I apologies for delayed answer.
I don't think that can be done only with html and css, not using at least javascript and/or server side scripting. In my opinion can be very complicate, if you find a solution, to keep in sync the 'news' and tags for them.
some idea:
- use javascript to add tags in the file with news
- xml, you can use xinclude but I guess that browser support is poor
- server side scripting or/and javascript.
Last one seems the best solution and don't implies using any framework, you can use a in-house solution.
regards
benreynolds4
05-27-2008, 11:35 AM
fine...
i'll look into javascript tagging....i haven't heard of it...
the only thing i have heard is that it is possible with php...
cheers anyway..
ben
vBulletin® v3.8.2, Copyright ©2000-2012, Jelsoft Enterprises Ltd.