RE: [lazarus] WikiHelp
Still I manage to get the program working for the step list the topics. I have downloaded your new source and compiled it but if I hit create I get a error about the XML not being valide. I saved the output in a memo and pasted that in to a document. There was nothin invalide about this XML. So I gess it's the parcer that is faulty. You say you use SVN lazarus right. I gess I need to refresh my XML pare unit so it works beter. Just to make sure that's the case you can import something from the osF wiki ? The XML my parcer can read for instance is mediawiki xmlns=http://www.mediawiki.org/xml/export-0.3/; xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; xsi:schemaLocation=http://www.mediawiki.org/xml/export-0.3/ http://www.mediawiki.org/xml/export-0.3.xsd; version=0.3 xml:lang=nl siteinfo sitenameOsFinancials Wiki/sitename basehttp://www.osfinancials.org/mediawiki/index.php/Hoofdpagina/base generatorMediaWiki 1.6.8/generator casefirst-letter/case namespaces namespace key=-2Media/namespace namespace key=-1Speciaal/namespace namespace key=0 / namespace key=1Overleg/namespace namespace key=2Gebruiker/namespace namespace key=3Overleg gebruiker/namespace namespace key=4OsFinancials Wiki/namespace namespace key=5Overleg OsFinancials Wiki/namespace namespace key=6Afbeelding/namespace namespace key=7Overleg afbeelding/namespace namespace key=8MediaWiki/namespace namespace key=9Overleg MediaWiki/namespace namespace key=10Sjabloon/namespace namespace key=11Overleg sjabloon/namespace namespace key=12Help/namespace namespace key=13Overleg help/namespace namespace key=14Categorie/namespace namespace key=15Overleg categorie/namespace /namespaces /siteinfo page titleBackup Path/title id1478/id revision id1831/id timestamp2006-11-14T22:10:57Z/timestamp contributor usernameDigidan/username id29/id /contributor text xml:space=preserveThis option allows you to select the drive and /or folders on which you wish to make your Backups. This is normally your A: Drive, but you could also make backups in any available folder or directory on your hard drive, CD-R, CD-R/W or USB removable device. '''To Set the Default Backup Path:''' lt;olgt;lt;ligt;Click on the '''Setup-gt;Preferences-gt;Backup Path''' menu option. lt;br /gt; [[Image:Keyboard.png|Keyboard Access]] - '''Keyboard Access:''' Press the '''Alt+S+P+B''' keys on your keyboard. lt;br /gt; The Browse for Folder screen is displayed: lt;br /gt; http://www.osfinancials.org/mediawiki/images/pictures/setup-backup-path. png lt;/ligt; lt;ligt;Select any available valid drive or folder on which you wish to make backups.lt;/ligt; lt;ligt;Click on the '''OK''' button.lt;/ligt; lt;/olgt; [[Image:Note.png|left|Note]] If you have selected a valid drive or folder, you may change this backup path on the Backup To field of the Backup Set of Books screen. [[Category:English Documentation]] [[Category:Setup]] [[Category:Setup Preferences]] [[Category:Backup/Restore]]/text /revision /page /mediawiki Met vriendelijke groet, Pieter Valentijn Delphidreams http://www.delphidreams.nl -Oorspronkelijk bericht- Van: Christian Ulrich [mailto:[EMAIL PROTECTED] Verzonden: vrijdag 2 maart 2007 17:06 Aan: lazarus@miraclec.com Onderwerp: Re: [lazarus] WikiHelp I follow the link manualy from my browser and it said to me you need te be logged in. I have checked out 2/3 of the osFinancials wiki without loggin in look at your server log for Mozilla 4.0 (compatible; WikiHelp) I have added an corrected xml definition to svn (you have forgot to change one Spezial to Speciaal). I have also added an .lpr and reworked the Search routine for more compatibility. Christian _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject archives at http://www.lazarus.freepascal.org/mailarchives _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
Re: [lazarus] WikiHelp
The xml parser is part of fpc so use an snapshot of lazarus with fpc 2.1.1 there are these bugs fixed. - Original Message - From: Pieter Valentijn [EMAIL PROTECTED] To: lazarus@miraclec.com Sent: Saturday, March 03, 2007 1:05 PM Subject: RE: [lazarus] WikiHelp Still I manage to get the program working for the step list the topics. I have downloaded your new source and compiled it but if I hit create I get a error about the XML not being valide. I saved the output in a memo and pasted that in to a document. There was nothin invalide about this XML. So I gess it's the parcer that is faulty. You say you use SVN lazarus right. I gess I need to refresh my XML pare unit so it works beter. Just to make sure that's the case you can import something from the osF wiki ? The XML my parcer can read for instance is mediawiki xmlns=http://www.mediawiki.org/xml/export-0.3/; xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; xsi:schemaLocation=http://www.mediawiki.org/xml/export-0.3/ http://www.mediawiki.org/xml/export-0.3.xsd; version=0.3 xml:lang=nl siteinfo sitenameOsFinancials Wiki/sitename basehttp://www.osfinancials.org/mediawiki/index.php/Hoofdpagina/base generatorMediaWiki 1.6.8/generator casefirst-letter/case namespaces namespace key=-2Media/namespace namespace key=-1Speciaal/namespace namespace key=0 / namespace key=1Overleg/namespace namespace key=2Gebruiker/namespace namespace key=3Overleg gebruiker/namespace namespace key=4OsFinancials Wiki/namespace namespace key=5Overleg OsFinancials Wiki/namespace namespace key=6Afbeelding/namespace namespace key=7Overleg afbeelding/namespace namespace key=8MediaWiki/namespace namespace key=9Overleg MediaWiki/namespace namespace key=10Sjabloon/namespace namespace key=11Overleg sjabloon/namespace namespace key=12Help/namespace namespace key=13Overleg help/namespace namespace key=14Categorie/namespace namespace key=15Overleg categorie/namespace /namespaces /siteinfo page titleBackup Path/title id1478/id revision id1831/id timestamp2006-11-14T22:10:57Z/timestamp contributor usernameDigidan/username id29/id /contributor text xml:space=preserveThis option allows you to select the drive and /or folders on which you wish to make your Backups. This is normally your A: Drive, but you could also make backups in any available folder or directory on your hard drive, CD-R, CD-R/W or USB removable device. '''To Set the Default Backup Path:''' lt;olgt;lt;ligt;Click on the '''Setup-gt;Preferences-gt;Backup Path''' menu option. lt;br /gt; [[Image:Keyboard.png|Keyboard Access]] - '''Keyboard Access:''' Press the '''Alt+S+P+B''' keys on your keyboard. lt;br /gt; The Browse for Folder screen is displayed: lt;br /gt; http://www.osfinancials.org/mediawiki/images/pictures/setup-backup-path. png lt;/ligt; lt;ligt;Select any available valid drive or folder on which you wish to make backups.lt;/ligt; lt;ligt;Click on the '''OK''' button.lt;/ligt; lt;/olgt; [[Image:Note.png|left|Note]] If you have selected a valid drive or folder, you may change this backup path on the Backup To field of the Backup Set of Books screen. [[Category:English Documentation]] [[Category:Setup]] [[Category:Setup Preferences]] [[Category:Backup/Restore]]/text /revision /page /mediawiki Met vriendelijke groet, Pieter Valentijn Delphidreams http://www.delphidreams.nl -Oorspronkelijk bericht- Van: Christian Ulrich [mailto:[EMAIL PROTECTED] Verzonden: vrijdag 2 maart 2007 17:06 Aan: lazarus@miraclec.com Onderwerp: Re: [lazarus] WikiHelp I follow the link manualy from my browser and it said to me you need te be logged in. I have checked out 2/3 of the osFinancials wiki without loggin in look at your server log for Mozilla 4.0 (compatible; WikiHelp) I have added an corrected xml definition to svn (you have forgot to change one Spezial to Speciaal). I have also added an .lpr and reworked the Search routine for more compatibility. Christian _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject archives at http://www.lazarus.freepascal.org/mailarchives _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject archives at http://www.lazarus.freepascal.org/mailarchives _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
RE: [lazarus] WikiHelp
The osF wiki. I follow the link manualy from my browser and it said to me you need te be logged in. http://www.osfinancials.org Met vriendelijke groet, Pieter Valentijn Delphidreams http://www.delphidreams.nl -Oorspronkelijk bericht- Van: Christian Ulrich [mailto:[EMAIL PROTECTED] Verzonden: donderdag 1 maart 2007 21:22 Aan: lazarus@miraclec.com Onderwerp: Re: [lazarus] WikiHelp I did got it to work but I now have trouble getting the data. I think it becouse you need to be loged in to go to the edit page. index.php?title=Spezial:Exportaction=submitpages='+lbFoundPages.Item s[ i]+'curonly=true This was you old line. If I follow the osF wiki I get a you are not loged in message. I gess we should be able to log in. The export page is no edit page. I have tested on the Lazarus Wiki, My Wiki and tzhe german Wikipedia and i got nowhere an login message ?! On what wiki do you test ? Christian _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject archives at http://www.lazarus.freepascal.org/mailarchives _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
RE: [lazarus] WikiHelp
So I gess it must be something else. I use this XML. Met vriendelijke groet, Pieter Valentijn Delphidreams http://www.delphidreams.nl -Oorspronkelijk bericht- Van: Christian Ulrich [mailto:[EMAIL PROTECTED] Verzonden: vrijdag 2 maart 2007 4:19 Aan: lazarus@miraclec.com Onderwerp: Re: [lazarus] WikiHelp Did you logout before doing the test? Maybe the wiki somehow remembers you when you run wikihelp. I have no coocie support enabled in synapse, can the wiki remember me without coocies ? OK, i have tried now with an complete clean computer where i never have logged in into lazarus wiki and see the site Page export and can use it without login. I also never see an option in my wiki pereferences where i can turn off page exports for not logged in users. Christian _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject archives at http://www.lazarus.freepascal.org/mailarchives ?xml version=1.0? CONFIG SpecialPageURLSpeciaal:Allpages/SpecialPageURL ExportPageURL?title=Spezial:Exportamp;action=submitamp;pages=%samp;curonly=true/ExportPageURL ImageTagNameAfbeelding/ImageTagName /CONFIG
Re: [lazarus] WikiHelp
I follow the link manualy from my browser and it said to me you need te be logged in. I have checked out 2/3 of the osFinancials wiki without loggin in look at your server log for Mozilla 4.0 (compatible; WikiHelp) I have added an corrected xml definition to svn (you have forgot to change one Spezial to Speciaal). I have also added an .lpr and reworked the Search routine for more compatibility. Christian _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
RE: [lazarus] WikiHelp
This was my implementation of that routine procedure TranslateUnitResourceStrings(const ResUnitName, BaseFilename, Lang, FallbackLang: string); begin if (ResUnitName='') or (BaseFilename='') then exit; //debugln('TranslateUnitResourceStrings BaseFilename=',BaseFilename,''); if (FallbackLang'') then DoTranslateUnitResourceStrings(ResUnitName,Format(BaseFilename,[Fallback Lang])); if (Lang'') then DoTranslateUnitResourceStrings(ResUnitName,Format(BaseFilename,[Lang])); end; I did got it to work but I now have trouble getting the data. I think it becouse you need to be loged in to go to the edit page. index.php?title=Spezial:Exportaction=submitpages='+lbFoundPages.Items[ i]+'curonly=true This was you old line. If I follow the osF wiki I get a you are not loged in message. I gess we should be able to log in. Met vriendelijke groet, Pieter Valentijn Delphidreams http://www.delphidreams.nl -Oorspronkelijk bericht- Van: Christian Ulrich [mailto:[EMAIL PROTECTED] Verzonden: donderdag 1 maart 2007 0:43 Aan: lazarus@miraclec.com Onderwerp: Re: [lazarus] WikiHelp A demo of your XML file would be apreciated (all do I think I can produce it if I put in some time. in folder defs in svn you have the english and german xml files just copy them to the output foolder I also had a error in this unit Utils in the routine I replaced the lines and I got it compiled but im not sure what I miss now. Its not part of your source so I gess it's a unit that comes with laz. procedure LoadLanguage(lang: string); begin if FileExists(ProgramDirectory+'languages'+Directoryseparator+Lang+'.po') then TranslateUnitResourceStrings // old line ('uintfstrconsts',ProgramDirectory+'languages'+Directoryseparator+Lang +' .po'); ('uintfstrconsts',ProgramDirectory+'languages'+Directoryseparator+Lang+' .po','a','b'); // TranslateResourcestrings(ProgramDirectory+'languages'+Directoryseparator +Lang+'.mo'); end; I dont understand what you mean. thats the definition of TranslateUnitResourceStrings in my lazarus: function TranslateUnitResourceStrings(const ResUnitName, AFilename: string ): boolean; what is ,a,b in your changed one ? these routiones are just for loading translations so its no big thing if you miss them. Christian _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject archives at http://www.lazarus.freepascal.org/mailarchives _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
Re: [lazarus] WikiHelp
I did got it to work but I now have trouble getting the data. I think it becouse you need to be loged in to go to the edit page. index.php?title=Spezial:Exportaction=submitpages='+lbFoundPages.Items[ i]+'curonly=true This was you old line. If I follow the osF wiki I get a you are not loged in message. I gess we should be able to log in. The export page is no edit page. I have tested on the Lazarus Wiki, My Wiki and tzhe german Wikipedia and i got nowhere an login message ?! On what wiki do you test ? Christian _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
Re: [lazarus] WikiHelp
Christian Ulrich schreef: I did got it to work but I now have trouble getting the data. I think it becouse you need to be loged in to go to the edit page. index.php?title=Spezial:Exportaction=submitpages='+lbFoundPages.Items[ i]+'curonly=true This was you old line. If I follow the osF wiki I get a you are not loged in message. I gess we should be able to log in. The export page is no edit page. I have tested on the Lazarus Wiki, My Wiki and tzhe german Wikipedia and i got nowhere an login message ?! Did you logout before doing the test? Maybe the wiki somehow remembers you when you run wikihelp. Vincent _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
Re: [lazarus] WikiHelp
Did you logout before doing the test? Maybe the wiki somehow remembers you when you run wikihelp. I have no coocie support enabled in synapse, can the wiki remember me without coocies ? OK, i have tried now with an complete clean computer where i never have logged in into lazarus wiki and see the site Page export and can use it without login. I also never see an option in my wiki pereferences where i can turn off page exports for not logged in users. Christian _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
RE: [lazarus] WikiHelp
I pulled the source but I miss the wikihelp.lpr. I have it from your ziped source so im ok ther ebut I gess you should add it to the svn. Met vriendelijke groet, Pieter Valentijn Delphidreams http://www.delphidreams.nl -Oorspronkelijk bericht- Van: Christian Ulrich [mailto:[EMAIL PROTECTED] Verzonden: dinsdag 27 februari 2007 18:26 Aan: lazarus@miraclec.com Onderwerp: Re: [lazarus] WikiHelp If I find some time to kill I will investigate the SVN so I can be in sync with you. Ok, i have made several things: * All language depend things are now readable from an xml file so you need only to make an new xml file to make your wiki language avalible. * It now has an recursive mode so you can only search one startpage and set the checkbox and on processing an page all linkes pages are added to the to process list. * Several wiki tags are converted better (mostly the html from the lazarus wiki looks like the wiki itself now) * Maked the source fpc 2.0.4 compatible (but the xml routines seems to have soume problems there :() * Moved the source to svn in the lazarus ccr look at my page for the full address regards Christian _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject archives at http://www.lazarus.freepascal.org/mailarchives _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
RE: [lazarus] WikiHelp
I got it compiling A demo of your XML file would be apreciated (all do I think I can produce it if I put in some time. I also had a error in this unit Utils in the routine I replaced the lines and I got it compiled but im not sure what I miss now. Its not part of your source so I gess it's a unit that comes with laz. procedure LoadLanguage(lang: string); begin if FileExists(ProgramDirectory+'languages'+Directoryseparator+Lang+'.po') then TranslateUnitResourceStrings // old line ('uintfstrconsts',ProgramDirectory+'languages'+Directoryseparator+Lang+' .po'); ('uintfstrconsts',ProgramDirectory+'languages'+Directoryseparator+Lang+' .po','a','b'); // TranslateResourcestrings(ProgramDirectory+'languages'+Directoryseparator +Lang+'.mo'); end; Met vriendelijke groet, Pieter Valentijn Delphidreams http://www.delphidreams.nl -Oorspronkelijk bericht- Van: Christian Ulrich [mailto:[EMAIL PROTECTED] Verzonden: dinsdag 27 februari 2007 18:26 Aan: lazarus@miraclec.com Onderwerp: Re: [lazarus] WikiHelp If I find some time to kill I will investigate the SVN so I can be in sync with you. Ok, i have made several things: * All language depend things are now readable from an xml file so you need only to make an new xml file to make your wiki language avalible. * It now has an recursive mode so you can only search one startpage and set the checkbox and on processing an page all linkes pages are added to the to process list. * Several wiki tags are converted better (mostly the html from the lazarus wiki looks like the wiki itself now) * Maked the source fpc 2.0.4 compatible (but the xml routines seems to have soume problems there :() * Moved the source to svn in the lazarus ccr look at my page for the full address regards Christian _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject archives at http://www.lazarus.freepascal.org/mailarchives _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
Re: [lazarus] WikiHelp
A demo of your XML file would be apreciated (all do I think I can produce it if I put in some time. in folder defs in svn you have the english and german xml files just copy them to the output foolder I also had a error in this unit Utils in the routine I replaced the lines and I got it compiled but im not sure what I miss now. Its not part of your source so I gess it's a unit that comes with laz. procedure LoadLanguage(lang: string); begin if FileExists(ProgramDirectory+'languages'+Directoryseparator+Lang+'.po') then TranslateUnitResourceStrings // old line ('uintfstrconsts',ProgramDirectory+'languages'+Directoryseparator+Lang+' .po'); ('uintfstrconsts',ProgramDirectory+'languages'+Directoryseparator+Lang+' .po','a','b'); // TranslateResourcestrings(ProgramDirectory+'languages'+Directoryseparator +Lang+'.mo'); end; I dont understand what you mean. thats the definition of TranslateUnitResourceStrings in my lazarus: function TranslateUnitResourceStrings(const ResUnitName, AFilename: string ): boolean; what is ,a,b in your changed one ? these routiones are just for loading translations so its no big thing if you miss them. Christian _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
Re: [lazarus] WikiHelp
If I find some time to kill I will investigate the SVN so I can be in sync with you. Ok, i have made several things: * All language depend things are now readable from an xml file so you need only to make an new xml file to make your wiki language avalible. * It now has an recursive mode so you can only search one startpage and set the checkbox and on processing an page all linkes pages are added to the to process list. * Several wiki tags are converted better (mostly the html from the lazarus wiki looks like the wiki itself now) * Maked the source fpc 2.0.4 compatible (but the xml routines seems to have soume problems there :() * Moved the source to svn in the lazarus ccr look at my page for the full address regards Christian _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
RE: [lazarus] WikiHelp
I tried to compile with Lazarus 0.9.20 B but i get uMain.pas(447,71) Error: identifier idents no member TextContent I cant see this property in the XML node. What version do you use? I downloaded synapse to het the HTTP part working. From analizing the source I can see it's a language problem. The first is this line in the scan button http.HTTPMethod('GET',eWikiPage.Text+'Spezial:Allpages'); Mine is http://www.osfinancials.org/mediawiki/index.php/Speciaal:Allpages I would suggest we move this over to a ini file or something like that. As this is the case with all language specific wiki's. I see some code that looks if its english or German. Maby even handel anny language setups that are in a folder. Met vriendelijke groet, Pieter Valentijn Delphidreams http://www.delphidreams.nl -Oorspronkelijk bericht- Van: Christian Ulrich [mailto:[EMAIL PROTECTED] Verzonden: vrijdag 23 februari 2007 18:35 Aan: lazarus@miraclec.com Onderwerp: Re: [lazarus] WikiHelp I like you tool but I cant get it to work on this wiki of osFinancials. http://www.osfinancials.org/mediawiki/index.php/ Was this created in Lazarus? OK, i have uploaded the Sourcecode to my Site. And also maked an english description page. So You can see whats going wrong with the osFinancials Wiki maybe i will take a look also at this at Weekend. Christian _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject archives at http://www.lazarus.freepascal.org/mailarchives _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
Re: [lazarus] WikiHelp
I tried to compile with Lazarus 0.9.20 B but i get uMain.pas(447,71) Error: identifier idents no member TextContent I cant see this property in the XML node. What version do you use? I use 0.9.21 most dayly actual svn and an own build fpc 2.1.1 mostly not older than an month ... Is there in 0.9.20 another property that holds the content of MyXMLNodeThis content the TextContent Property gives/MyXMLNode if you find an property in 0.9.20 that gives these content we can change it. I downloaded synapse to het the HTTP part working. From analizing the source I can see it's a language problem. The first is this line in the scan button http.HTTPMethod('GET',eWikiPage.Text+'Spezial:Allpages'); Mine is http://www.osfinancials.org/mediawiki/index.php/Speciaal:Allpages OK, i will make an property of this thats stored in the xml property file I would suggest we move this over to a ini file or something like that. the propertys you can set are already stored in an xml file so we can store it there ... As this is the case with all language specific wiki's. I see some code that looks if its english or German. right Maby even handel anny language setups that are in a folder. I think an simple option schould be enougth this schould be the only option we have to take care of ... by the way i will make an folder in the lazarus ccr svn repositore so anyone can simply make and send patches with svn ... best regards Christian Ulrich _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
RE: [lazarus] WikiHelp
I tried iNode.NodeValue but its not what I need. I will have to get up to speed on the SVN pulling of Laz. Im working hard on the new interface for Stock items in OSF si I can get rid of this ttable components and speed up thing. Some people have 1+ items and are now waiting to long for the data to load. If I find some time to kill I will investigate the SVN so I can be in sync with you. Met vriendelijke groet, Pieter Valentijn Delphidreams http://www.delphidreams.nl -Oorspronkelijk bericht- Van: Christian Ulrich [mailto:[EMAIL PROTECTED] Verzonden: zondag 25 februari 2007 21:30 Aan: lazarus@miraclec.com Onderwerp: Re: [lazarus] WikiHelp I tried to compile with Lazarus 0.9.20 B but i get uMain.pas(447,71) Error: identifier idents no member TextContent I cant see this property in the XML node. What version do you use? I use 0.9.21 most dayly actual svn and an own build fpc 2.1.1 mostly not older than an month ... Is there in 0.9.20 another property that holds the content of MyXMLNodeThis content the TextContent Property gives/MyXMLNode if you find an property in 0.9.20 that gives these content we can change it. I downloaded synapse to het the HTTP part working. From analizing the source I can see it's a language problem. The first is this line in the scan button http.HTTPMethod('GET',eWikiPage.Text+'Spezial:Allpages'); Mine is http://www.osfinancials.org/mediawiki/index.php/Speciaal:Allpages OK, i will make an property of this thats stored in the xml property file I would suggest we move this over to a ini file or something like that. the propertys you can set are already stored in an xml file so we can store it there ... As this is the case with all language specific wiki's. I see some code that looks if its english or German. right Maby even handel anny language setups that are in a folder. I think an simple option schould be enougth this schould be the only option we have to take care of ... by the way i will make an folder in the lazarus ccr svn repositore so anyone can simply make and send patches with svn ... best regards Christian Ulrich _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject archives at http://www.lazarus.freepascal.org/mailarchives _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
Re: [lazarus] WikiHelp
Christian Ulrich wrote: It would be very nice if people could edit documentation in a convenient way such as a wiki; this is an improvement over sending .xml help file patches. On the other hand it is also important that the documentation is correct and coherent, particularly in its role as a 'contract'. Merging into the documentation changes that can be made by just anybody, might need more checking. I think the fcl,rtl,lcl documentation schould stay in the xml files but an general help and reference and ide help schould stay in the wiki and automatically merged in the nigthy builds at example and in the installations. I agree that the IDE documentation, as well as the Object Pascal language reference, are indeed good candidates for a wiki-based help system. It seems your wiki export tool can be of great help here. Actually we [i.e. at the office] use a similar script, in php, for the documentation of one of our products as well. It is very useful when one wants to remove wiki-specific functionality (edit, discussion, versions), add custom things like automagically generated navigation links, and to make it suitable for offline viewing. BTW our tool fetches the pages from the wiki recursively and parses it with a standard XHTML parser. Manipulations are done on the DOM (Document Object Model). It also replaces the CSS and Javascript stuff. For syntax highlighting, we integrated GeSHi into MediaWiki (so the highlighting is both in the wiki and in the export). I can't share the source with you I'm afraid, but off course you are free to borrow ideas ;) Note: MediaWiki makes it very easy to create hooks, e.g. for the CODE tag to add syntax highlighting. I believe adding custom tags like NOTE, WARNING, TIP etc. shouldn't be too much of a problem too, though we used some CSS for that. Regards, Bram _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
Re: [lazarus] WikiHelp
On 2/23/07, Darius Blaszijk [EMAIL PROTECTED] wrote: Christian, Why don't you just make an example of what you mean? This way you can actually show what is possible. A picture says more than a thousand words. Just post a link here. Hello, The url posted by Christian links to a Deutsch site , where there is a very short description and the windows executable. I'm on linux, so the win binary is not of much help. I think that Christian is not receiving the feedback he needs simply because he didn't make it clear enough what the WikiHelp application is, and how does it work. You give WikiHelp an url and it downloads the wiki pages recursively ? In this case, how is it different from wget ? Does it also allow browsing of the downloaded pages? Some screenshots and a longer description (in English...) would help people understand what WikiHelp is about. The idea of having a tool for having a local copy of the wiki is a good one, for at least these reasons: - all of the Lazarus articles, tutorials, etc are on the wiki - some people don't have web access all the time - browsing a local copy of the wiki is faster , assuming that browsing is done with a viewer called from within the ide. (Reading the local copy of the wiki with a web browser wouldn't be good enough, and it wouldn't be worth the trouble). I have no idea how would WikiHelp fit into this . Cheers, Adrian Maier _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
Re: [lazarus] WikiHelp
Why don't you just make an example of what you mean? This way you can actually show what is possible. A picture says more than a thousand words. Just post a link here. The url posted by Christian links to a Deutsch site , where there is a very short description and the windows executable. I'm on linux, so the win binary is not of much help. I think that Christian is not receiving the feedback he needs simply because he didn't make it clear enough what the WikiHelp application is, and how does it work. snip I have no idea how would WikiHelp fit into this . This is exaclty my point. Instead of being insecure and asking for others opinion I would suggest to put up a link to the sources and create a (simple) example of a helpfile generated from the lazarus wiki. So please lets stop the discussion before there is something physical to talk about. BTW: there is an english translation available on the site iirc. Darius _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
RE: [lazarus] WikiHelp
I like you tool but I cant get it to work on this wiki of osFinancials. http://www.osfinancials.org/mediawiki/index.php/ Was this created in Lazarus? Met vriendelijke groet, Pieter Valentijn Delphidreams http://www.delphidreams.nl -Oorspronkelijk bericht- Van: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Verzonden: vrijdag 23 februari 2007 9:37 Aan: lazarus@miraclec.com Onderwerp: Re: [lazarus] WikiHelp Why don't you just make an example of what you mean? This way you can actually show what is possible. A picture says more than a thousand words. Just post a link here. The url posted by Christian links to a Deutsch site , where there is a very short description and the windows executable. I'm on linux, so the win binary is not of much help. I think that Christian is not receiving the feedback he needs simply because he didn't make it clear enough what the WikiHelp application is, and how does it work. snip I have no idea how would WikiHelp fit into this . This is exaclty my point. Instead of being insecure and asking for others opinion I would suggest to put up a link to the sources and create a (simple) example of a helpfile generated from the lazarus wiki. So please lets stop the discussion before there is something physical to talk about. BTW: there is an english translation available on the site iirc. Darius _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject archives at http://www.lazarus.freepascal.org/mailarchives _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
Re: [lazarus] WikiHelp
Vincent Snijders wrote: About translations, I always feel awkward reading Dutch translations of programming related documents and most of the time I need to translate them back to English (mentally) to understand them. So as far as I am concerned translating is not necessary. Other people disagree, see the translations on the lazarus wiki. I absolutely agree with you, Dutch translations are usually awkward to read ;). But I think is is partially due to our English-orientedness. Perhaps in other countries, people are more dependent on their native language, and maybe hardly understand any English. On the other hand, maintaining documentation in different languages has certain disadvantages. Documentation, in particular of APIs, is like a 'contract' to which the code should obey; in this regard is is best to consider one language version as authoritative; the others would have to be translated from this version. As English is probably understood best by most users, it is reasonable to make this the authoritative language for all FPC/Lazarus documentation. If a change or addition is made to the documentation, it will have to be reflected in the translations as well. We will need some way to deal with that. For example, the English version can have revision numbers, and of translated versions, one could indicate up to which English revision it is up-to-date --- if this is not the latest version, a user might want to look at the English version; some 'diff' tools would be very useful here as well. Conclusion: Advantages: - can attract more users - can help people having problems with English to write better code, as they now have documentation in their own language Disadvantages: - requires effort to keep translations consistent - requires adaptation of help system - people understanding English might tend to still use that version instead of the one translated to their native language - people might spent time and effort on translating documentation instead of improving Laz ;) I intend to extend fpdoc generated pages so they point to a wiki pages where correction and additions can be made (this is long term) though. When we make a lazarus 1.0 release, we can use httrack to extract all data from the wiki and add that as documentation. It would be very nice if people could edit documentation in a convenient way such as a wiki; this is an improvement over sending .xml help file patches. On the other hand it is also important that the documentation is correct and coherent, particularly in its role as a 'contract'. Merging into the documentation changes that can be made by just anybody, might need more checking. Still I consider it a nice option. Regards, Bram _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
Re: [lazarus] WikiHelp
As far as I know the best way to create documentation is using lazdoc and lazde. It can generate html, which can be transformed to chm. (ms hmtl workshop works on on linux using wine too). With Andrew Haines CHMHelpViewer the content can be shown. maybe its easyer to use html directly. I intend to extend fpdoc generated pages so they point to a wiki pages where correction and additions can be made (this is long term) though. When we make a lazarus 1.0 release, we can use httrack to extract all data from the wiki and add that as documentation. htttrack copys also wiki menus and such stuff wikihelp does this not its written especialy to have only the contents of the wiki as html. But i think the help must be translateable and this is my question :) thanks for the answer so i know yur OPINION :) Christian _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
Re: [lazarus] WikiHelp
- Original Message - From: Pieter Valentijn [EMAIL PROTECTED] To: lazarus@miraclec.com Sent: Friday, February 23, 2007 12:49 PM Subject: RE: [lazarus] WikiHelp I like you tool but I cant get it to work on this wiki of osFinancials. http://www.osfinancials.org/mediawiki/index.php/ Was this created in Lazarus? I will try to fixc this at the weekend and also make the source public. Yes for shore it is written in Lazarus. christian _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
Re: [lazarus] WikiHelp
Conclusion: Advantages: - can attract more users - can help people having problems with English to write better code, as they now have documentation in their own language Disadvantages: - requires effort to keep translations consistent - requires adaptation of help system - people understanding English might tend to still use that version instead of the one translated to their native language - people might spent time and effort on translating documentation instead of improving Laz ;) You can see that its better to have the Help in native languages at the wiki. The Tarnslations goes on very well if the users would see this like you then nothing would be translated in the wiki. It would be very nice if people could edit documentation in a convenient way such as a wiki; this is an improvement over sending .xml help file patches. On the other hand it is also important that the documentation is correct and coherent, particularly in its role as a 'contract'. Merging into the documentation changes that can be made by just anybody, might need more checking. I think the fcl,rtl,lcl documentation schould stay in the xml files but an general help and reference and ide help schould stay in the wiki and automatically merged in the nigthy builds at example and in the installations. Christian _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
Re: [lazarus] WikiHelp
I like you tool but I cant get it to work on this wiki of osFinancials. http://www.osfinancials.org/mediawiki/index.php/ Was this created in Lazarus? OK, i have uploaded the Sourcecode to my Site. And also maked an english description page. So You can see whats going wrong with the osFinancials Wiki maybe i will take a look also at this at Weekend. Christian _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
Re: [lazarus] WikiHelp
Hi, one 'feature' that I like with documentation files myself is to download and keep it on the local disk. I am not too experienced since I could never download a wiki site ! This is unfortunate since there seems to be a lot of usefull information there. Thanks Alain _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
Re: [lazarus] WikiHelp
I agree that the Lazarus Help system could be much easier to use. As a newcomer, to me it seems to lack a lot of content. This is the stuff that is obvious to the experienced people, but requires a lot of research, reading of inc files, etc, by beginners and anyone working in an area that is new to them. I would like to help, but need some more time digging down to understand it to the level I used to understand Delphi. Mike Sapsard On Tue, 20 Feb 2007 16:22:32 -, [EMAIL PROTECTED] wrote: Quoting Christian Ulrich [EMAIL PROTECTED]: 1. Is nobody intrested that the lazarus help gets better ? I think this is an good step to have primary descriptions and tuturials. 2. How is it possible to make the fcl,lcl help multilanguage ? I dont see any way at time ! My humble suggestion: Well, buddy, in open source comunnities, if you don't find what you want, you start to build it by yourself ;-) And, you may get help from others, later... Comment: I have my own Delphi/Lazarus controls, and need it to make a help system for them. And started to make a MULTILINGUAL HELP EDITOR, but, there is too much things to do. (My native language is spanish) It was XML/HTML based system, not any special format like windowze *.hlp or *nix man. Question: Do you need something particular, like an especific tutorial or help for a particular unit or class ? Just my 2 cents... _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject archives at http://www.lazarus.freepascal.org/mailarchives -- Using Opera's revolutionary e-mail client: http://www.opera.com/m2/ _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
Re: [lazarus] WikiHelp
Christian Ulrich schreef: Yes but seems that nobody is interested in an help system please could somebody answer ? Mattias, Vincent i know you read this thers an Button normally labeled with answer or antworten or @vincent i dont know the flemish word for this maybe andworden ;) What is the plan for the Lazarus help system ? How to support diffrent languages for the lcl,rtl and fcl docs maybe diffrent directorys for the xml files but the lazdoc editor has to handle this ?! If you insist on an answer: I don't know. Vincent _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
Re: [lazarus] WikiHelp
Quoting Christian Ulrich [EMAIL PROTECTED]: 1. Is nobody intrested that the lazarus help gets better ? I think this is an good step to have primary descriptions and tuturials. 2. How is it possible to make the fcl,lcl help multilanguage ? I dont see any way at time ! My humble suggestion: Well, buddy, in open source comunnities, if you don't find what you want, you start to build it by yourself ;-) And, you may get help from others, later... Comment: I have my own Delphi/Lazarus controls, and need it to make a help system for them. And started to make a MULTILINGUAL HELP EDITOR, but, there is too much things to do. (My native language is spanish) It was XML/HTML based system, not any special format like windowze *.hlp or *nix man. Question: Do you need something particular, like an especific tutorial or help for a particular unit or class ? Just my 2 cents... _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
Re: [lazarus] WikiHelp
Well, buddy, in open source comunnities, if you don't find what you want, you start to build it by yourself ;-) And, you may get help from others, later... Wikihelp is ready and working have you read my mail ?! We can start now to create an lazarus help in the wiki and generate html from it with wikihelp. It was XML/HTML based system, not any special format like windowze *.hlp or *nix man. I have also written an Help browser for my apps was not too mutch work TurbopowerIPRO is there :) It supports also searching and parial matching :) A Fussylogic Search Do you need something particular, like an especific tutorial or help for a particular unit or class ? You dont understand me, i work with lazarus for 3 years i know what to do how. But Lazarus helpsystem is terrific. Delphiusers know the very good Delphi help system and i want to have also such a nice help in Lazarus this is why i offer wikihelp to generate html files from the lazarus wiki so we can edit our help comfortable in the wiki and everyone can work on it. And have an html copy of it in the lazarus installations so nobody needs internet acess to just view the help. best regards Christian _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
Re: [lazarus] WikiHelp
I agree. I tried to get my dad to install Lazarus and start to use it (he is a computer science teacher, so I was hoping to get it to the students as well), but the main problem was that there was not a good help system. I do think that the wiki will have to be gone through to make sure everything is well organised though. It happened a few times that I accidentally stumbled upon an extremely useful page in the wiki and then afterwards I couldn't find it again for a long time. :-( Charl PS English is weird... According to answers.com terrific is defined as: 1. Very good or fine; splendid: *a terrific tennis player.* 2. Awesome; astounding: *drove at a terrific rate of speed.* 3. Causing terror or great fear; terrifying: *a terrific wail.* 4. Very bad or unpleasant; frightful: *a terrific headache.* so, can it mean the opposite of itself? ;-) (I point this out because I knew def 1,2) On 2/20/07, Christian Ulrich [EMAIL PROTECTED] wrote: Well, buddy, in open source comunnities, if you don't find what you want, you start to build it by yourself ;-) And, you may get help from others, later... Wikihelp is ready and working have you read my mail ?! We can start now to create an lazarus help in the wiki and generate html from it with wikihelp. It was XML/HTML based system, not any special format like windowze *.hlp or *nix man. I have also written an Help browser for my apps was not too mutch work TurbopowerIPRO is there :) It supports also searching and parial matching :) A Fussylogic Search Do you need something particular, like an especific tutorial or help for a particular unit or class ? You dont understand me, i work with lazarus for 3 years i know what to do how. But Lazarus helpsystem is terrific. Delphiusers know the very good Delphi help system and i want to have also such a nice help in Lazarus this is why i offer wikihelp to generate html files from the lazarus wiki so we can edit our help comfortable in the wiki and everyone can work on it. And have an html copy of it in the lazarus installations so nobody needs internet acess to just view the help. best regards Christian _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject archives at http://www.lazarus.freepascal.org/mailarchives -- I love deadlines. I especially love the whooshing sound they make as they fly by. - Douglas Adams
Re: [lazarus] WikiHelp
I agree. I tried to get my dad to install Lazarus and start to use it (he is a computer science teacher, so I was hoping to get it to the students as well), but the main problem was that there was not a good help system. I do think that the wiki will have to be gone through to make sure everything is well organised though. It happened a few times that I accidentally stumbled upon an extremely useful page in the wiki and then afterwards I couldn't find it again for a long time. :-( i would also spend my help system but first matthias,vincent and co has to comment this idea and the open questions schould be answered like how do an multilanguage help schould look for my help system everything is linke in lauarus wiki with /en or /de and so on as page language identifiers but the lcl,fcl,rtl reference is not clear. Christian
Re: [lazarus] WikiHelp
1. Is nobody intrested that the lazarus help gets better ? I think this is an good step to have primary descriptions and tuturials. 2. How is it possible to make the fcl,lcl help multilanguage ? I dont see any way at time ! - Original Message - From: Christian Ulrich To: lazarus@miraclec.com Sent: Thursday, February 15, 2007 6:09 PM Subject: [lazarus] WikiHelp Hi there, I have written an small tool to create my online helps from Wiki Pages. I plan to support also printable documentation as pdf in next time. Maybe this is an good way to make the lazarus help. The Lazarus Wiki is used frequently and so we could have an help with tuturials and stuff that links to local generated class reference from fpdoc. at time i have made only one windows executable publix on my site www.ullihome.de but if this is wished i will also make the source lgpled. reagrds Christian
[lazarus] WikiHelp
Hi there, I have written an small tool to create my online helps from Wiki Pages. I plan to support also printable documentation as pdf in next time. Maybe this is an good way to make the lazarus help. The Lazarus Wiki is used frequently and so we could have an help with tuturials and stuff that links to local generated class reference from fpdoc. at time i have made only one windows executable publix on my site www.ullihome.de but if this is wished i will also make the source lgpled. reagrds Christian