rejetto forum

Software => HFS ~ HTTP File Server => HTML & templates => Topic started by: ledufe on July 30, 2006, 07:24:34 PM

Title: HFS - Template Builder
Post by: ledufe on July 30, 2006, 07:24:34 PM
first i have a poor connection speed
second, i accept any help that anyone would give, and the sources are in this folder
!!!THIS IS THE OLD VERSION!!! THIS VERSION DON´T WORK BUT the is a link bellow this post to get the working version


HFS-TPL-Builder - Not a rejetto software!!!

hi guys, im trying to make something new, my proposal is, i know that most of guys here use a bounch of tools to create a template, but it would be nice if someone make a software that edit and actualy creates a tpl file to be imported on the hfs, and imagining the possibilities of this kind of tool i start its logic, what do we know about a template? beside the fact it uses sections to be called when needed, the template is a plain text file with html/xhtml/css code inside it right? and about the sections? what do we know about then beside the fact that some sections are inserted inside other sections? the thing is, we can edit then in separated files and the join then inside one single file and save it with the.tpl extension to load it inside the hfs right? so if we had a tool that could edit the sections separated and then generate the tpl file it would be easier...

this tool would work like this...
to test this tool and to speed-up the development, i started the project with the ability to choose all sections to edition, but to test all the functions, i just need to do it on 3 sections:
the main(first) section, the style(CSS) section, and some other section(i choosed the login-link) to test the preview, and the function that join all others and save it to a .tpl file. But until i finished the part of the edition and some functions to preview every section with the existent css, i will only working on the 3 i've mentioned above, and bellow is the description of what is already working on the sections that i'am working on.

WHAT IS ALREADY WORKING:

HERE THE LINK TO DOWNLOAD IT:
!!!THIS IS THE OLD VERSION!!! -  this was made when i was programing in lua scripts using auto play media studio 6 There is a link bellow to the version re-maded in c# and that version is already working, but far away from what i imagine it could do..... just wait and see, im learning c# everyday....  hehheheh  beware world.... lol.....http://ledufe.no-ip.info:2222/HFS-TOOLS/HFS-TB/hfs-tpl-builder.rar!!!THIS IS THE OLD VERSION!!!

SCREENSHOTS:
CSS-Section-Editor (http://img502.imageshack.us/img502/7920/csssectioneditoryo1.th.jpg) (http://img502.imageshack.us/my.php?image=csssectioneditoryo1.jpg)
==========
The detections of CSS to enable preview with it
(http://img325.imageshack.us/img325/2928/detectionofcsstoenablepreviewvb9.th.jpg) (http://img325.imageshack.us/my.php?image=detectionofcsstoenablepreviewvb9.jpg)
=============
Load the code From the default template
(http://img502.imageshack.us/img502/9968/loadcodeforthesectionfromdefaulttplws7.th.jpg) (http://img502.imageshack.us/my.php?image=loadcodeforthesectionfromdefaulttplws7.jpg)
========
main section editor
(http://img502.imageshack.us/img502/1724/mainsectioneditorof6.th.jpg) (http://img502.imageshack.us/my.php?image=mainsectioneditorof6.jpg)
========
the preview of the edited code for the main section
(http://img502.imageshack.us/img502/5536/previewofthemainsectionjg2.th.jpg) (http://img502.imageshack.us/my.php?image=previewofthemainsectionjg2.jpg)
=========
the preview of the edited code for the main section with the css edited/found like hfs does
(http://img325.imageshack.us/img325/8315/previewofthemainsectionwithcssxc3.th.jpg) (http://img325.imageshack.us/my.php?image=previewofthemainsectionwithcssxc3.jpg)
=========
saving the generated tpl as...
(http://img348.imageshack.us/img348/2263/savinggeneratedtplaspb2.th.jpg) (http://img348.imageshack.us/my.php?image=savinggeneratedtplaspb2.jpg)
=========
the action of select a section to edit it
(http://img325.imageshack.us/img325/9934/selectingsectiontoedityw4.th.jpg) (http://img325.imageshack.us/my.php?image=selectingsectiontoedityw4.jpg)
=========
the view of the template generated with the existent sections, giving the user the ability to edit the results before click on the save button
(http://img325.imageshack.us/img325/3342/teplategeneratedwithsectionsmadedkw1.th.jpg) (http://img325.imageshack.us/my.php?image=teplategeneratedwithsectionsmadedkw1.jpg)
=========
one of the bests features of it, the tool tip that shows the meaning of the special symbol to insert on the code :-)
(http://img502.imageshack.us/img502/909/tooltiptoeverysymbolco4.th.jpg) (http://img502.imageshack.us/my.php?image=tooltiptoeverysymbolco4.jpg)
Title: Re: HFS-TEMPLATE-BUILDER
Post by: BowflexMaster on August 01, 2006, 05:40:35 PM
I'm checkin it out now :)

EDIT: It looks like a neat idea, but I'm confused on how to use it. Maybe at some point you could make a Help file or something.
Title: Re: HFS-TEMPLATE-BUILDER
Post by: ledufe on August 04, 2006, 03:34:41 AM
well, i change the topic of this post.... and update the app, maybe anyone here could test and try if it has became more clear/easy to use and understand....

for now just to test it has a editor to edit the main section and the css style and the start page is just to test some functions like save and load a template, but the best part is the editor of the main section and the compile function that insert the square braquets and the name of the edited section, only at the save momment ....

tell me what do you guys think about it? would anyone use a app like this?

and the if anyone would like to help on the development, i give the sources and the link to download the software to edit/compile it.....

it is easy and i would aprecciate any help on it
Title: Re: HFS-TEMPLATE-BUILDER
Post by: rejetto on August 05, 2006, 05:55:48 PM
i would move this topis to the "templates" forum.
that forum is not only for templates posting...
is it ok for you?
Title: Re: HFS-TEMPLATE-BUILDER
Post by: ledufe on August 05, 2006, 07:48:50 PM
thats alright to me...
only posted here because its nature, its a software and not a template...
its fine to me....
Title: Re: HFS-TEMPLATE-BUILDER
Post by: Anonymous on August 07, 2006, 03:54:31 PM
my hfs server is offline today until i re-install all the softwares, im installing the OS on the new Hard-disk...
Title: Re: HFS-TEMPLATE-BUILDER
Post by: ledufe on August 07, 2006, 05:41:23 PM
Quote from: "Anonymous"
my hfs server is offline today until i re-install all the softwares, im installing the OS on the new Hard-disk...


OOOPS, i  forgot to login before post this one...
rsrsrsr
Title: Re: HFS-TEMPLATE-BUILDER
Post by: hfs-user on August 08, 2006, 09:29:40 PM
question do you intent to do the preview of the hfs-embed images without using the hfs? i guess you will have to put the hfs runing inside your app to work, and your exe only will grow and get slow....

and the part that load a template already made are not working, it only load the tpl on the start screen, it dows not import the template sections to your editor....you should work on this first...

good luck
Title: Re: HFS-TEMPLATE-BUILDER
Post by: ledufe on August 12, 2006, 10:43:23 PM
well im slowly getting back to the hfs forum and also to my normal way of life, i will post the update with the preview of the images without using the hfs, and it was easy to do, i've just saved the images and make a replace of the writed code to show it, on the preview with the css and showing the images, im still trying to find a better layout to this tool but sinco no one are interested in help me to do this or even to just give a idea of a professional apearence of the software/app well, it could take time, but i guess im finding some people that will help, i've just talked with some good software developper to give me some ideas....

well, thanks for your comment/opnion.

im glad that some (a few) like the idea of a software like this....
Title: Re: HFS-TEMPLATE-BUILDER
Post by: skitzophrenic on September 23, 2006, 01:05:33 PM
Hi! i really LOVED the hmm... Black temple i think its called

i did a simple test  @ http://hfstest.mine.nu everyting worked just fine... exept when uploading is done, it just appear a whit page. no more =(

anyone now how i can fix this? plzz take a look at try for your self so you se what i mean.

Thanks //Niklas - Sweden roxx =)
Title: Re: HFS-TEMPLATE-BUILDER
Post by: ledufe on September 25, 2006, 02:27:23 AM
well, after a long time busy and with no time to play with toys like hfs and learn programing language, i find out this:
if you wanna learn some good program language, try delphi, c, c++, c#, java, VB.net, VB6... im saying this becouse i was happy with the hfs stuff and i wished to help the comunity, then i started to helping the other on the forum, later, i was so exited with this that i started a project called hfs template builder, and the project it was to make a tool that would be used to read and save, and generate a .tpl file to be loaded inside the hfs...i know that many here won´t will use it, becouse they do all the code by hand, or inside some tool(s) like dreamweaver and others, but i started this project just to make the things easier to the newbees and i intented to help rejetto to focus his coding skills on the main program, and let the hfs with only a text editor, and im trying to make a good editor, with some info to all the users understand why, the template is used, how the template are used and builded, and how the sections use the symbols and wich symbols can be used on determined section, and i know that some here would say...it is a crap, use the notepad and rejetto-hfs wikki, but this little app is only a small contribution the hfs community, and it was not created to help the hfs software it self or rejetto, they don´t need my help, and i guess that is pretty cool to inform that i was making this neat software with a program called autoplay media studio version 6, but after i started the project, i learned the scripting/programing language of it, and found LUA (http://www.lua.org (http://www.lua.org)) very interesting, and even learned soo much with it(it is very similar to c) but with this kind of software soon or later, you will find yourself in a situation that you have to menage some way to get out of some limitation of the language, to avoid this, please, if you wanna learn a programing language, please, choose one complete and fully documented over the internet

this project, the hfs template builder is being coded now in c# and i still invite anyone that want to help...
and by the way, if someone want to see how the project goes, please, go into my hfs and download the binarie or the source....
http://ledufe.no-ip.info:2222/HFS-TOOLS/hfs-tb-c-sharp/ (http://ledufe.no-ip.info:2222/HFS-TOOLS/hfs-tb-c-sharp/)
ops, i almost forgot to tell, i started to learn c# just becouse i read in some website that the Microsoft released a version o Visual c# .NET Free with SQLServer Express and those who download it until the end of the year, will have this free version for ever....so it my chance to learn somo decent programing language....

again sorry about my poor english, and
thanks for your atention
Title: Re: HFS-TEMPLATE-BUILDER
Post by: ledufe on October 07, 2006, 12:09:35 PM
First Working Version

hfs-tb.exe

==working==


Template Export (generation of a template)
single section Export(to open inside a external wysiwyg editor)
single section import(to load a page from external wysiwyg editor)
DropDown list of HFS Special Symbols to easy insertion on the template editor
DropDown list of HFS Internal Images to easy insertion on the template editor
Status detection of the hfs service
- still much heavy memory loads (bad programing skills)

PLUS
HFS-To-Service (admin a service from hfs.exe)
HFS-CommentMaker (create .comment files using hfs-symbols)
HFS-MD5 (create .md5 files that contain the hash for the files)
Download of the last version of the hfs stable build

==not working==

template import (some templates work and some don´t (those templates out of order(if there was any order)))
trayicon hfs-service
preview function
hfs-option

==plans==

detect if there is framework 2.0 or superior, and if not give the link to download
make it load faster
add support to the creation of other playlist types
make a ini to save e reload configs from user
make a gui to work with hfs ini file
implement 2 types of preview
type1
--|# with the load of a file in user browser that is running in a temp file (withoutHFS)
--|# leting the user choose if he wants with or without the images and css  (withoutHFS)
type2
--|# with this action it save a template-temp and load it on the hfs,
--|  and after load it, start the hfs, and browse one of the adress

last release link
http://ledufe.no-ip.info:2222/HFS-TOOLS/hfs-tb-c-sharp/HFS-TB/HFS-TB/bin/Release/HFS-TB.exe

and atached to this message there is also a link to the last build just in case of my pc connection drop  ;)

Doesn't work for me: Initialisation error (0xc0000135) when starting the HFS-TB.exe.   ???
Sorry Gees , i forgot to mention that c# is a .net language and it requires the framework of microsoft to work.... but as you can see im trying to develop a way to detect it and treat the error...

try it and post your comments....

please, post your comments.


[attachment deleted by admin]
Title: Re: HFS-TEMPLATE-BUILDER
Post by: ~GeeS~ on October 07, 2006, 05:52:03 PM
Doesn't work for me: Initialisation error (0xc0000135) when starting the HFS-TB.exe.   ???
Title: Re: HFS-TEMPLATE-BUILDER
Post by: maverick on October 07, 2006, 07:42:32 PM

The HFS-TB utility depends on Microsoft .Net Framework to work. 

Not everybody uses that or has it installed --> Like Me.
Title: Re: HFS-TEMPLATE-BUILDER
Post by: maverick on October 07, 2006, 07:54:14 PM
Hi! i really LOVED the hmm... Black temple i think its called

i did a simple test  @ http://hfstest.mine.nu everyting worked just fine... exept when uploading is done, it just appear a whit page. no more =(

anyone now how i can fix this? plzz take a look at try for your self so you se what i mean.

That's an indication that the customized template you are using is Very Old and doesn't fully support the recent HFS versions.

Install the default HFS template and you will see that problem go away.
Title: Re: HFS-TEMPLATE-BUILDER
Post by: ledufe on October 07, 2006, 10:34:38 PM
so, no one was able to run it to test e post some opnions in here? ...

ok, but on my machine and as maverick said, everyone that has the framework 2.0 installed can use it and in the machine of some friends all wor fine, just found one bug with the part that import a existent template, i would like to see some tests with the import of others templates, one in particullar that import wrong is the live, still solving it...

and im working now at the new function that rejetto included in the new hfs beta, but still coudn´t make it work....but i guess that i will make it ....it is just a matter of time...
Title: Re: HFS-TEMPLATE-BUILDER
Post by: ^Troll^ on November 09, 2006, 03:41:30 PM

Hi all,

I've tried to download the latest version of the Template Builder, but I keep running into dead dowload links. Can someone please post a working link? Thanks in advance!

^T^ 
Title: Re: HFS-TEMPLATE-BUILDER
Post by: flaven on November 14, 2006, 01:22:43 AM
First Working Version

hfs-tb.exe

==working==


Template Export (generation of a template)
single section Export(to open inside a external wysiwyg editor)
single section import(to load a page from external wysiwyg editor)
DropDown list of HFS Special Symbols to easy insertion on the template editor
DropDown list of HFS Internal Images to easy insertion on the template editor
Status detection of the hfs service
- still much heavy memory loads (bad programing skills)

PLUS
HFS-To-Service (admin a service from hfs.exe)
HFS-CommentMaker (create .comment files using hfs-symbols)
HFS-MD5 (create .md5 files that contain the hash for the files)
Download of the last version of the hfs stable build

==not working==

template import (some templates work and some don´t (those templates out of order(if there was any order)))
trayicon hfs-service
preview function
hfs-option

==plans==

detect if there is framework 2.0 or superior, and if not give the link to download
make it load faster
add support to the creation of other playlist types
make a ini to save e reload configs from user
make a gui to work with hfs ini file
implement 2 types of preview
type1
--|# with the load of a file in user browser that is running in a temp file (withoutHFS)
--|# leting the user choose if he wants with or without the images and css  (withoutHFS)
type2
--|# with this action it save a template-temp and load it on the hfs,
--|  and after load it, start the hfs, and browse one of the adress

last release link
http://ledufe.no-ip.info:2222/hfs-tb-c-sharp/HFS-TB/HFS-TB/bin/Release/HFS-TB.exe

and atached to this message there is also a link to the last build just in case of my pc connection drop  ;)

Doesn't work for me: Initialisation error (0xc0000135) when starting the HFS-TB.exe.   ???
Sorry Gees , i forgot to mention that c# is a .net language and it requires the framework of microsoft to work.... but as you can see im trying to develop a way to detect it and treat the error...

try it and post your comments....

please, post your comments.

3ku,I'll try
Title: Re: HFS-TEMPLATE-BUILDER
Post by: ledufe on November 14, 2006, 02:40:51 AM
thanks for testing, please put your comments, and if you know how to programing, you are welcome to help
Title: Re: HFS-TEMPLATE-BUILDER
Post by: ataxy on January 13, 2007, 05:08:11 PM
i guess this is not working with 2.1c or is it?
Title: Re: HFS-TEMPLATE-BUILDER
Post by: MASTER MIND on January 22, 2007, 09:17:44 PM
link is not working  ???
Title: Re: HFS-TEMPLATE-BUILDER
Post by: ledufe on January 23, 2007, 01:03:26 AM
sorry for the errors and issues on my hfs-server, im away from my home, right now im posting this via vnc from another city, and my pc is a mess, here are the 2 versions that i could develop(develop??? it is almost a joke...it was only a idea, and i couldnt finish it...at least yet...) but when i started it i was doing it with LUA, but i found a little limited, and i started to learn c# that uses the .NET 2.0 from microsoft.

Here Bellow, you can find the autoplay media studio (lua) version.
Splited in 4 parts

and also the c# version (much smaller) and much more usable, but they are only some ideas...

i will take some time to finish it.... but when i got time to spend, and also, every day i become more smart and more pro in c#, but im always busy at my work...
and if anyone else want the sources and the ideas (maps and wanted features list, and also the other tests) please contact me, if i get many requests i will post it here spliting it here...there are so many tests, i could post it on my hfs when i get back to my home....
Title: Re: HFS-TEMPLATE-BUILDER
Post by: ledufe on January 23, 2007, 01:04:30 AM
hfs tb lua part1

[attachment deleted by admin]
Title: Re: HFS-TEMPLATE-BUILDER
Post by: ledufe on January 23, 2007, 01:05:16 AM
hfs tb lua part2

[attachment deleted by admin]
Title: Re: HFS-TEMPLATE-BUILDER
Post by: ledufe on January 23, 2007, 01:05:59 AM
hfs tb lua part3

[attachment deleted by admin]
Title: Re: HFS-TEMPLATE-BUILDER
Post by: ledufe on January 23, 2007, 01:06:34 AM
hfs tb lua part4

[attachment deleted by admin]
Title: Re: HFS-TEMPLATE-BUILDER
Post by: ledufe on January 23, 2007, 01:07:08 AM
hfs tb C#

[attachment deleted by admin]
Title: Re: HFS-TEMPLATE-BUILDER
Post by: rejetto on January 23, 2007, 04:03:13 AM
still no luck with the hfsfiles space?
Title: Re: HFS-TEMPLATE-BUILDER
Post by: Tsaukpaetra on April 18, 2007, 03:08:25 PM
 :o What's the current status of your project? It sounds cool, but it's been ... three months since last activity?

Just wondering, it would be great if I didn't need to search through 600 lines of template data just to do something... :)  8)
Title: Re: HFS-TEMPLATE-BUILDER
Post by: TSG on April 18, 2007, 03:33:58 PM
LeDuFe has been too busy to work on HFS unfortunately. He used to be quite active on all templates including mine but i haven't really spoken to, or, heard from him in about 4 months, he is always working and stuff. Hopefully he will return to us when he is less busy :)
Title: Re: HFS-TEMPLATE-BUILDER
Post by: iruga on June 10, 2007, 10:20:33 AM
http://www.rejetto.com/forum/index.php?topic=3559.0 (http://www.rejetto.com/forum/index.php?topic=3559.0)

This link can not download the HFS-Template builder~

Who can give me the HFS-Template builder ???

THX~ :-*
Title: Re: HFS-TEMPLATE-BUILDER
Post by: TSG on June 10, 2007, 11:18:49 AM
It's spelt Builder, and no i cannot find a working link, ledufe seems to have lost interest in this project.

EDIT:Ye thats his HFS which hasn't been online in months.
Title: Re: HFS - Template Builder
Post by: ledufe on July 11, 2007, 01:20:47 AM
hey guys, im kind of busy, as usual, but im getting some new responsabilities, and im not confortable yet with my new tasks, new time to do new works, im also a stupid, im saying this becouse of this:

I lost my old machine when i moved from a house to another one(My APartment now, and not rented!!! :-)  ), and im trying to get my old life and free time back, im watching the forum, but i canot help this time, i lost the sources updated, but i found some olds here, the funny thing is that i was thinking about this project these days.....

sorry guys, and as soon i got a new desktop, i will put my server online again...
im using my new laptop as my PC, but i cannot feel confortable to use it as a "always on machine".....

Title: Re: HFS - Template Builder
Post by: fabnos on July 11, 2007, 01:54:08 AM
He all
here my copy of HFS -Template Buider by Ledufe
I don't know if is the last version also if I think that can be.
Date of download: 25/02/2007
Best regards
Title: Re: HFS - Template Builder
Post by: TSG on July 11, 2007, 05:26:11 AM
Welcome back ledufe. Almost. haha. Hope to see a new version of this software one day.
Title: Re: HFS - Template Builder
Post by: ledufe on July 13, 2007, 02:35:00 AM
yo guys, i found separated the bkps here, and found one of the last versions of the template builder in c# and im posting it here...
and now im asking for the help of anyone that knows c# to help in this project, becouse the hfs growed so much and now it supports some sections inside the template that can be created by the user, and i didnt figure out yet how to detect the template section in a propper way yet, and i was thinking if someone have any idea or a clue about how to do this in c#, now i am studing the delphi and the hfs sources to try to find the answer, but any help would be apprciated...
thanks....
Title: Re: HFS - Template Builder
Post by: rejetto on July 15, 2007, 02:36:30 AM
i didnt figure out yet how to detect the template section in a propper way yet, and i was thinking if someone have any idea or a clue about how to do this in c#,

what you mean with "detect" ? to know when a section begins or to tell user sections from standard sections?
Title: Re: HFS - Template Builder
Post by: ledufe on July 16, 2007, 01:40:19 AM
when i say detect, i mean, make the software, at the import time, find every section of the imported template, like, detect when the first section begins, and when it end, and detect when the other sections begins and end too, i may be too stupid, but im not getting much lucky with the regular expressions, since the user can put the section in any place of the templates, and now they can create their own section...

i need help, or learn more....
Title: Re: HFS - Template Builder
Post by: rejetto on July 16, 2007, 01:47:53 AM
Given that there is no mandatory order for the sections,
there are basically 2 methods.

If you read line by line, then check if the new line starts with a [, then check if it has the closing ], then consider the previous section ended, and store the new section name somewhere.

If you see the template as a unique string, search for "\n[", and the rest is like above.

The parser for HFS is in classesLib.pas, method appendString.
Title: Re: HFS - Template Builder
Post by: iruga on July 28, 2007, 12:29:43 PM
He all
here my copy of HFS -Template Buider by Ledufe
I don't know if is the last version also if I think that can be.
Date of download: 25/02/2007
Best regards

This HFS -Template Buider can not use the preview function  :'(
Title: Re: HFS - Template Builder
Post by: zzrcat on July 30, 2007, 01:14:41 PM
Thank ledufe...
Title: Re: HFS - Template Builder
Post by: Mars on March 08, 2018, 06:15:43 PM
Template editor old formula, not adapted to the current models, but allows to start a simple project

new sharing of the program. zip archive as attachment. no support for lack of sources of the program.