[Gambas-user] Several years ago I finished a application for writers in gambas2 I need some advice for rewriting

Jb Skaggs jbskaggs42 at ...626...
Sat May 10 03:06:04 CEST 2014


Thanks I gotcha now:)  The first time I wrote it using html markup so
I now understand what you mean. I was thinking you meant CSS even
though I was reading XML- brain fart on my part.

On Fri, May 9, 2014 at 8:00 PM, Randall Morgan <rmorgan62 at ...626...> wrote:
> No, XML (Extensible Markup Language) is a general purpose markup language.
> HTML is a form of XML, XSL is a form of XML, MS Word, Excel documents and
> Open Office  documents all use XML to help arrange meta data and data into
> an easily parsed form.
>
> Below is a sample of a made up XML Scheme. You can create your own or
> search for existing XML schemes. I worked on an Art Gallery management
> software package a while back and found there are industry standard schemes
> for the Art Museum industries. You may find schemes for screen writing if
> you look. If you create your own and want to promote it you can publish it
> in the xml file and provide it to others who might want to integrate with
> your software.
>
> Sample:
>
> <book>
>    <meta>
>       <author>John Paul Jones</author>
>       <created>March 10th, 1987 08:42:13</created>
>      <lastedit>March 23rd 1987 23:14:22</lastedit>
>    </meta>
>    <chapter ordinal="1">
>       <title>An Introduction to Book XML</title>
>       <subtitle>Or How to Create Your Own XML Scheme</subtitle>
>       <body>
>          <p>This is paragraph text....</p>
>          <p>This is another paragraph text....</p>
>          <p>This is yet another paragraph text....</p>
>       </body>
>       <ref>This is a list of references</ref>
>       <footer>This is a footer section</footer>
>    </chapter>
>    <chapter ordinal="2">
>       <title>XML What is it?</title>
>       <body>
>          <p>This is paragraph text....</p>
>          <p>This is another paragraph text....</p>
>          <p>This is yet another paragraph text....</p>
>       </body>
>       <ref>This is a list of references</ref>
>       <footer>This is a footer section</footer>
>    </chapter>
> </book>
>
>
> On Fri, May 9, 2014 at 5:19 PM, Jb Skaggs <jbskaggs42 at ...626...> wrote:
>
>> I thought XML was primarily for theming websites how would this help
>> me? I have never used XML.  Could you point me to an example?
>>
>> On Fri, May 9, 2014 at 7:01 PM, Randall Morgan <rmorgan62 at ...626...>
>> wrote:
>> > If you are wanting to make this one (or more) file(s). You might consider
>> > wrapping it in an XML scheme. Just a thought....
>> >
>> >
>> > On Fri, May 9, 2014 at 3:59 PM, Jb Skaggs <jbskaggs42 at ...626...> wrote:
>> >
>> >> This is basically a fancy editor that is broken down into scenes,
>> chapters
>> >>
>> >> My question is the best way to track the texts.  I am keeping each
>> >> scene's text in a directory dedicated to each chapter.
>> >>
>> >> the only actual texts are in each scene and a chapter may have any
>> >> number of scenes, and a book may have any number of chapters.
>> >>
>> >> I need to be able to have a running text by total written for book,
>> >> and by chapter, and by scene.
>> >>
>> >> Since the only text is actually entered by a scene, I am thinking that
>> >> every time I save a scene's text the program should scroll through
>> >> every ch and it's scenes and recompile the all texts into new total
>> >> texts for the whole book, the whole chapter and the scenes.
>> >>
>> >> But the last time I released this software in one of the reviews there
>> >> was a complaint that the program was too slow.  Any ideas?
>> >>
>> >> Basically a list of chapters that for each chapter is a list of
>> >> scenes, and for each scene a text.
>> >>
>> >> Thanks
>> >> JB Skaggs
>> >>
>> >>
>> >>
>> ------------------------------------------------------------------------------
>> >> Is your legacy SCM system holding you back? Join Perforce May 7 to find
>> >> out:
>> >> • 3 signs your SCM is hindering your productivity
>> >> • Requirements for releasing software faster
>> >> • Expert tips and advice for migrating your SCM now
>> >> http://p.sf.net/sfu/perforce
>> >> _______________________________________________
>> >> Gambas-user mailing list
>> >> Gambas-user at lists.sourceforge.net
>> >> https://lists.sourceforge.net/lists/listinfo/gambas-user
>> >>
>> >
>> >
>> >
>> > --
>> > If you ask me if it can be done. The answer is YES, it can always be
>> done.
>> > The correct questions however are... What will it cost, and how long will
>> > it take?
>> >
>> ------------------------------------------------------------------------------
>> > Is your legacy SCM system holding you back? Join Perforce May 7 to find
>> out:
>> > • 3 signs your SCM is hindering your productivity
>> > • Requirements for releasing software faster
>> > • Expert tips and advice for migrating your SCM now
>> > http://p.sf.net/sfu/perforce
>> > _______________________________________________
>> > Gambas-user mailing list
>> > Gambas-user at lists.sourceforge.net
>> > https://lists.sourceforge.net/lists/listinfo/gambas-user
>>
>>
>> ------------------------------------------------------------------------------
>> Is your legacy SCM system holding you back? Join Perforce May 7 to find
>> out:
>> • 3 signs your SCM is hindering your productivity
>> • Requirements for releasing software faster
>> • Expert tips and advice for migrating your SCM now
>> http://p.sf.net/sfu/perforce
>> _______________________________________________
>> Gambas-user mailing list
>> Gambas-user at lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/gambas-user
>>
>
>
>
> --
> If you ask me if it can be done. The answer is YES, it can always be done.
> The correct questions however are... What will it cost, and how long will
> it take?
> ------------------------------------------------------------------------------
> Is your legacy SCM system holding you back? Join Perforce May 7 to find out:
> • 3 signs your SCM is hindering your productivity
> • Requirements for releasing software faster
> • Expert tips and advice for migrating your SCM now
> http://p.sf.net/sfu/perforce
> _______________________________________________
> Gambas-user mailing list
> Gambas-user at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user




More information about the User mailing list