[tw] Re: TW interactions with php echo.
Hi Eric Hope you have time to have a quick look at why my copy does not work. http://dl.dropbox.com/u/5652992/emptyTestExternalTiddlers/empty.html Thanks in Advance Skye On 6 dez, 10:06, skye riquelme riquelme.s...@gmail.com wrote: HI Again, Eric Seems strange it doesnot work for me, but does for you. I have put the empty file I tested here -http://dl.dropbox.com/u/5652992/emptyTestExternalTiddlers/empty.html - maybe you can download it and see if it works for you. did I do something wrong...or is it to do with our computer configurations Thanks in Advance Skye On 5 dez, 02:00, Eric Shulman elsdes...@gmail.com wrote: OK tried your suggestion about double brackets - and nothing happened no error message and no HelloThere message either.! hmmm... that should have worked. It does for me. AND, as I am understanding your explanation...if I create a text output and its starts with div id=storeArea...and then uses the same format as a true tiddler ... div title=' ' creator=' .../pre/ div ...then the plugin will read ii in a create a new tiddler That would be fantastic You can define a storeArea *anywhere* in your output and the plugin will detect it. You can use the #tiddlername param in the URL to extract a specific tiddler. However, this doesn't automatically create a new tiddler. To create a tiddler from the remote content, you need to use the enhanced 'missing tiddler fallback' syntax provided by the plugin, like this: tiddler [[TiddlerName|http://...]] If TiddlerName exists in the document, then it is transcluded normally. If the tiddler is missing, then the remote URL (following the | separator) is used to retrieve content and then automatically create a new tiddler named TiddlerName (controlled by the chkExternalTiddlersImport option) enjoy, -e Eric Shulman TiddlyTools / ELS Design Studios -- You received this message because you are subscribed to the Google Groups TiddlyWiki group. To post to this group, send email to tiddlywiki@googlegroups.com. To unsubscribe from this group, send email to tiddlywiki+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/tiddlywiki?hl=en.
[tw] Re: TW interactions with php echo.
HI Again, Eric Seems strange it doesnot work for me, but does for you. I have put the empty file I tested here - http://dl.dropbox.com/u/5652992/emptyTestExternalTiddlers/empty.html - maybe you can download it and see if it works for you. did I do something wrong...or is it to do with our computer configurations Thanks in Advance Skye On 5 dez, 02:00, Eric Shulman elsdes...@gmail.com wrote: OK tried your suggestion about double brackets - and nothing happened no error message and no HelloThere message either.! hmmm... that should have worked. It does for me. AND, as I am understanding your explanation...if I create a text output and its starts with div id=storeArea...and then uses the same format as a true tiddler ... div title=' ' creator=' .../pre/ div ...then the plugin will read ii in a create a new tiddler That would be fantastic You can define a storeArea *anywhere* in your output and the plugin will detect it. You can use the #tiddlername param in the URL to extract a specific tiddler. However, this doesn't automatically create a new tiddler. To create a tiddler from the remote content, you need to use the enhanced 'missing tiddler fallback' syntax provided by the plugin, like this: tiddler [[TiddlerName|http://...]] If TiddlerName exists in the document, then it is transcluded normally. If the tiddler is missing, then the remote URL (following the | separator) is used to retrieve content and then automatically create a new tiddler named TiddlerName (controlled by the chkExternalTiddlersImport option) enjoy, -e Eric Shulman TiddlyTools / ELS Design Studios -- You received this message because you are subscribed to the Google Groups TiddlyWiki group. To post to this group, send email to tiddlywiki@googlegroups.com. To unsubscribe from this group, send email to tiddlywiki+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/tiddlywiki?hl=en.
[tw] Re: TW interactions with php echo.
Hi Again suggestion. In trying to access Jeremys message as you suggested (from a blanck TW - with External Tiddlers TemporaryTiddlers and SectionLinks only installed)... I got a macro error...saying that names is undefinied (in FF) and Cannot convert names to object in Opera. This also raises a question. to have ExternalTiddlersPlugin read in information from a php file that is producing output with echowould I have to format that output as a tiddler..div title title=' ' creator=' .../pre/ div ? Thanks skye On 3 dez, 21:53, Eric Shulman elsdes...@gmail.com wrote: My main application is using a local TW and uploading data server- side, so I have a major conflict on domain nameyour plugin explains that acessing a file server-side from a local file...wont work. Since you are planning to run a local TW, you should be ok. The cross-domain restrictions only apply if the TW document is hosted online. If the document is being run locally (i.e., file://...), then remote access to URLs *does* work (at least, it does for me). Try this: * Install ExternalTiddlersPlugin in a *local* empty.html file. * Create a new tiddler containing: tiddlerhttp://www.TiddlyWiki.com/#HelloThere When the macro is rendered, you *should* see the remotely-accessed text from Jeremy's [[HelloThere]] tiddler. Let me know if that works. enjoy, -e -- You received this message because you are subscribed to the Google Groups TiddlyWiki group. To post to this group, send email to tiddlywiki@googlegroups.com. To unsubscribe from this group, send email to tiddlywiki+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/tiddlywiki?hl=en.
[tw] Re: TW interactions with php echo.
In trying to access Jeremys message as you suggested (from a blanck TW - with External Tiddlers TemporaryTiddlers and SectionLinks only installed)... I got a macro error...saying that names is undefinied (in FF) and Cannot convert names to object in Opera. Minor syntax issue with macro usage. Since the parameter starts with http:, the TWCore macro processor sees this as a name:value pair, rather than a URL. To be properly recognized, add doubled square brackets around the parameter to quote it, like this: tiddler [[http://www.TiddlyWiki.com/#HelloThere]] This also raises a question. to have ExternalTiddlersPlugin read in information from a php file that is producing output with echowould I have to format that output as a tiddler..div title title=' ' creator=' .../pre/ div ? Nope. ExternalTiddlersPlugin will read in *any* externally-provided content as plain text. However, *IF* there is a storeArea within that content, then it can also parse and extract an individual tiddler definition from that content. enjoy, -e Eric Shulman TiddlyTools / ELS Design Studios TiddlyTools needs YOUR financial support... Help ME to continue to help YOU... make a generous donation today: http://www.TiddlyTools.com/#Donations Professional TiddlyWiki Consulting Services... Analysis, Design, and Custom Solutions: http://www.TiddlyTools.com/#Contact -- You received this message because you are subscribed to the Google Groups TiddlyWiki group. To post to this group, send email to tiddlywiki@googlegroups.com. To unsubscribe from this group, send email to tiddlywiki+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/tiddlywiki?hl=en.
[tw] Re: TW interactions with php echo.
Hi Again Eric OK tried your suggestion about double brackets - and nothing happened no error message and no HelloThere message either.! AND, as I am understanding your explanation...if I create a text output and its starts with div id=storeArea...and then uses the same format as a true tiddler ... div title=' ' creator=' .../pre/ div ...then the plugin will read ii in a create a new tiddler That would be fantastic Thanks Again Skye On 4 dez, 16:04, Eric Shulman elsdes...@gmail.com wrote: In trying to access Jeremys message as you suggested (from a blanck TW - with External Tiddlers TemporaryTiddlers and SectionLinks only installed)... I got a macro error...saying that names is undefinied (in FF) and Cannot convert names to object in Opera. Minor syntax issue with macro usage. Since the parameter starts with http:, the TWCore macro processor sees this as a name:value pair, rather than a URL. To be properly recognized, add doubled square brackets around the parameter to quote it, like this: tiddler [[http://www.TiddlyWiki.com/#HelloThere]] This also raises a question. to have ExternalTiddlersPlugin read in information from a php file that is producing output with echowould I have to format that output as a tiddler..div title title=' ' creator=' .../pre/ div ? Nope. ExternalTiddlersPlugin will read in *any* externally-provided content as plain text. However, *IF* there is a storeArea within that content, then it can also parse and extract an individual tiddler definition from that content. enjoy, -e Eric Shulman TiddlyTools / ELS Design Studios TiddlyTools needs YOUR financial support... Help ME to continue to help YOU... make a generous donation today: http://www.TiddlyTools.com/#Donations Professional TiddlyWiki Consulting Services... Analysis, Design, and Custom Solutions: http://www.TiddlyTools.com/#Contact -- You received this message because you are subscribed to the Google Groups TiddlyWiki group. To post to this group, send email to tiddlywiki@googlegroups.com. To unsubscribe from this group, send email to tiddlywiki+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/tiddlywiki?hl=en.
[tw] Re: TW interactions with php echo.
OK tried your suggestion about double brackets - and nothing happened no error message and no HelloThere message either.! hmmm... that should have worked. It does for me. AND, as I am understanding your explanation...if I create a text output and its starts with div id=storeArea...and then uses the same format as a true tiddler ... div title=' ' creator=' .../pre/ div ...then the plugin will read ii in a create a new tiddler That would be fantastic You can define a storeArea *anywhere* in your output and the plugin will detect it. You can use the #tiddlername param in the URL to extract a specific tiddler. However, this doesn't automatically create a new tiddler. To create a tiddler from the remote content, you need to use the enhanced 'missing tiddler fallback' syntax provided by the plugin, like this: tiddler [[TiddlerName|http://...]] If TiddlerName exists in the document, then it is transcluded normally. If the tiddler is missing, then the remote URL (following the | separator) is used to retrieve content and then automatically create a new tiddler named TiddlerName (controlled by the chkExternalTiddlersImport option) enjoy, -e Eric Shulman TiddlyTools / ELS Design Studios -- You received this message because you are subscribed to the Google Groups TiddlyWiki group. To post to this group, send email to tiddlywiki@googlegroups.com. To unsubscribe from this group, send email to tiddlywiki+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/tiddlywiki?hl=en.
[tw] Re: TW interactions with php echo.
Thanks Eric My main application is using a local TW and uploading data server- side, so I have a major conflict on domain nameyour plugin explains that acessing a file server-side from a local file...wont work. Any other possibilities? Thanks Skye On 3 dez, 00:43, Eric Shulman elsdes...@gmail.com wrote: its possible to say query a MySQL database and have the php file return a value using the print or echo functions.. with that result showing up as text in the target iframe responseframe. However I want to use that feedback and process it inside TW. Thats the question. While the html /php functioning is well documented elsewhere... this interaction within TW is...well only you guys can answer that part of the question??? I hope. In order to render the output using the TWCore wikify() processing, you can't use an iframe, because that iframe is a completely separate document environment, isolated from the TW run-time. Fortunately, this plugin may offer a possible solution: http://www.TiddlyTools.com/#ExternalTiddlersPlugin http://www.TiddlyTools.com/#ExternalTiddlersPluginInfo enjoy, -e -- You received this message because you are subscribed to the Google Groups TiddlyWiki group. To post to this group, send email to tiddlywiki@googlegroups.com. To unsubscribe from this group, send email to tiddlywiki+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/tiddlywiki?hl=en.
[tw] Re: TW interactions with php echo.
My main application is using a local TW and uploading data server- side, so I have a major conflict on domain nameyour plugin explains that acessing a file server-side from a local file...wont work. Since you are planning to run a local TW, you should be ok. The cross-domain restrictions only apply if the TW document is hosted online. If the document is being run locally (i.e., file://...), then remote access to URLs *does* work (at least, it does for me). Try this: * Install ExternalTiddlersPlugin in a *local* empty.html file. * Create a new tiddler containing: tiddler http://www.TiddlyWiki.com/#HelloThere When the macro is rendered, you *should* see the remotely-accessed text from Jeremy's [[HelloThere]] tiddler. Let me know if that works. enjoy, -e -- You received this message because you are subscribed to the Google Groups TiddlyWiki group. To post to this group, send email to tiddlywiki@googlegroups.com. To unsubscribe from this group, send email to tiddlywiki+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/tiddlywiki?hl=en.
[tw] Re: TW interactions with php echo.
its possible to say query a MySQL database and have the php file return a value using the print or echo functions.. with that result showing up as text in the target iframe responseframe. However I want to use that feedback and process it inside TW. Thats the question. While the html /php functioning is well documented elsewhere... this interaction within TW is...well only you guys can answer that part of the question??? I hope. In order to render the output using the TWCore wikify() processing, you can't use an iframe, because that iframe is a completely separate document environment, isolated from the TW run-time. Fortunately, this plugin may offer a possible solution: http://www.TiddlyTools.com/#ExternalTiddlersPlugin http://www.TiddlyTools.com/#ExternalTiddlersPluginInfo enjoy, -e -- You received this message because you are subscribed to the Google Groups TiddlyWiki group. To post to this group, send email to tiddlywiki@googlegroups.com. To unsubscribe from this group, send email to tiddlywiki+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/tiddlywiki?hl=en.