HTML designer

367 views
Skip to first unread message

nbato...@wings.rs

unread,
Sep 12, 2023, 7:14:41 PM9/12/23
to harbou...@googlegroups.com

Hi to all :)

 

I need to add some simple HTML designer to the program (text and some pictures). Any suggestions?

 

Regards, NB

Daniele Campagna

unread,
Sep 13, 2023, 3:48:54 AM9/13/23
to harbou...@googlegroups.com

Can you elaborate? Do you want your program to create HTML pages? And where are you going to place those pages? (hosted, local...)

Dan

--
You received this message because you are subscribed to the Google Groups "Harbour Users" group.
Unsubscribe: harbour-user...@googlegroups.com
Web: https://groups.google.com/group/harbour-users
---
You received this message because you are subscribed to the Google Groups "Harbour Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to harbour-user...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/harbour-users/026c01d9e5ce%24e49f2940%24addd7bc0%24%40wings.rs.

nbato...@wings.rs

unread,
Sep 13, 2023, 9:57:25 AM9/13/23
to harbou...@googlegroups.com

I want to allow users to create simple html pages. I would store them locally in memo fields.

 

Although this is just a basic idea, I can modify it if someone has a better suggestion :)

 

regards, NB

Yakano

unread,
Sep 13, 2023, 10:51:40 AM9/13/23
to Harbour Users
Hello

I'm also interested in some kind of graphical editor to allow the user to save notes with more than just text.

In the Clipper era, I tried to do something similar using TerraInformatica's BlockNote, but the capacity of the memo field made it infeasible. (now the product has changed to https://html-notepad.com/)

In the Harbour era, I considered using https://tiddlywiki.com/ because of the spectacular results that can be achieved, when you are an expert, but the long learning curve for users stopped me.

Are you thinking about a code contribution, a library or a call to another program?

Greetings

nbato...@wings.rs

unread,
Sep 13, 2023, 11:35:42 AM9/13/23
to harbou...@googlegroups.com

I am open to all solutions :)

Probably the best solution is Harbor code or a library, but calling an external program is also acceptable. As far as I've seen, a web solution can be made more easily, so then I would call a web service that opens an editor on the web server.

 

Regards, NB

Daniele Campagna

unread,
Sep 13, 2023, 12:33:36 PM9/13/23
to harbou...@googlegroups.com
Il 13/09/2023 17:35, nbatocanin via Harbour Users ha scritto:

I am open to all solutions :)

Probably the best solution is Harbor code or a library, but calling an external program is also acceptable. As far as I've seen, a web solution can be made more easily, so then I would call a web service that opens an editor on the web server.

 

Regards, NB

If you want to call an external HTML editor, you can try Brackets, available for Win and Linux and free. I think there are many others, anyway. The problem is, you should know HTML to a certain degree to compose your pages. Another program I still use is AceHTMLEdit. It has a nice help, a glossary of all HTML tags, a real-time preview (WYSIWYG). HTML pages in my (old) version are not HTML5 but with small changes you can make them HTML5-compliant.

If you want to programmatically create HTML pages, that's a completely different matter. I have some functions that can help you to do that.

Dan

Jorge Garate

unread,
Sep 13, 2023, 12:51:55 PM9/13/23
to Harbour Users
Revisa esto:                      Ckeck:      OT: Nueva herramienta harbour. (google.com)

Angel Pais

unread,
Sep 13, 2023, 6:43:53 PM9/13/23
to harbou...@googlegroups.com
That's not for it.
hbWUI is for building native apps with HTML GUI.

Regards

nbato...@wings.rs

unread,
Sep 13, 2023, 7:57:25 PM9/13/23
to harbou...@googlegroups.com

Idea is that users write their "work procedures" as a series of pages in a simple editor. Those pages include text, sometimes  JPG image and bold/italic text. So basic HTML is enough to write it. The editor must be WYSIWYG and _very_ simple.

 

An ideal solution would be some sort of HTML_MemoEdit() :)

 

Thank you all for your help :)

Message has been deleted

Jorge Garate

unread,
Sep 15, 2023, 8:42:14 AM9/15/23
to Harbour Users

nbato...@wings.rs

unread,
Sep 15, 2023, 8:07:32 PM9/15/23
to harbou...@googlegroups.com

Very interesting!

 

Unfortunately, I don't use Xailer...

Can this HTML editor be created as a stand-alone app? What is the size of app.exe and are any libraries required?

 

Regards, NB

Yakano

unread,
Sep 25, 2023, 10:58:12 AM9/25/23
to Harbour Users
Hello

Looking for a new approach to TiddlyWiki, I have found a solution that may work for me. I hope it can be a help to everyone.

This is the work carried out by "Lamusia Project", specifically "ATWiki1.8". https://lamusia.github.io/#Home

This project allows you to simplify the use of TiddlyWiki. If we create a new "tiddler" and include the code that we can consult in the "ATWiki" help, we will automatically have a list of tasks in a few seconds.

[...]
3.Task List

Create a new Tiddler which include the following content, to get a task list.

<$button>
 <$action-sendmessage $message="tm-new-tiddler" title=<<now "Task YYYY-MM-DD 0hh:0mm:0ss">> tags="Task" text=""/>
 New task
 </$button>

 ! In progress task<br />
 <$list filter="[!has[draft.of]tag[Task]!tag[Complete]sort[created]]">
 <$checkbox tag="Complete"> <$link to={{!!title}}><$view field="title"/></$link></$checkbox><br/>
 </$list>

 ! Completed task<br />
 <$list filter="[!has[draft.of]tag[Task]tag[Complete]sort[created]]">
 <$checkbox tag="Complete"> ~~<$link to={{!!title}}><$view field="title"/></$link>~~</$checkbox><br />
[...]

I'm still studying how to configure it for my language and the appearance on the screen without sidebar, but I've already tried it and it works perfectly.

TiddlyWiki is a single self-published Html, which allows it to be grouped by tiddlers, which is its minimum unit of information, allowing non-linear searches, using hashtags.

I store the initial Html, that has no tasks or notes inside, in a memo field (approx.2.4Mb) ​​and when the user wants to edit or consult it, I copy it to a temporary file that I then pass as a parameter to ATWiki (ATWiki.exe FileFromMemo.html). It is important to mention that ATWiki has auto-save, so the changes made are saved on the same file that is being viewed/edited and therefore when we return to our program, we only have to assign the temporary file to the memo field from which it came.

And really that's it, very very simple and with a spectacular graphic appearance.

Greetings to all.
ATWiki_es.png
Reply all
Reply to author
Forward
0 new messages