Xojo Developer Conference
25/27th April 2018 in Denver.
MBS Xojo Conference
6/7th September 2018 in Munich, Germany.

[MBS] Blog article about using Webviewer functions (MBS FileMakerPlugin Mailinglist archive)

Back to the thread list
Previous thread: [MBS] [ANN] 2.5pr3
Next thread: [MBS] cURL-Parameters


[MBS] Blog article about using Webviewer functions   -   Christian Schmitz
  Re: [MBS] Blog article about using Webviewer functions   -   Holger Herbst
  Re: [MBS] Blog article about using Webviewer functions   -   Christian Schmitz
  Re: [MBS] Blog article about using Webviewer functions   -   Holger Herbst
  Re: [MBS] Blog article about using Webviewer functions   -   Christian Schmitz
  Re: [MBS] Blog article about using Webviewer functions   -   Holger Herbst

[MBS] Blog article about using Webviewer functions
Date: 15.12.11 00:38 (Thu, 15 Dec 2011 00:38:00 +0100)
From: Christian Schmitz
Hi,

please check my newest article:

http://www.mbsplugins.de/filemaker.php

Greetings
Christian

Re: [MBS] Blog article about using Webviewer functions
Date: 15.12.11 13:01 (Thu, 15 Dec 2011 13:01:16 +0100)
From: Holger Herbst

Am 15.12.2011 um 12:39 schrieb Christian Schmitz:

>
> Am 15.12.2011 um 12:28 schrieb Holger Herbst:
>
>>> Does our plugin function work for this to get the source code of the page?
>>
>> WebViewer.GetSource returns the same as the content function in Filemaker: on Mac raw XML (OK) and on Windows (FMA9, Win7) a mixture of XML and HTML that has to be filtered (not nice)
>>
>
>
> Then they probably use the same.
>
> Can you fix the > tags by replace all on the text?
>

there are a lot of different tags, some CSS-code and all this mixed with XML

but the solution is quite simple: to use MBS 2.5.0pr2

CURL.SetOptionGet seems to do the trick on Windows, the result is now the same as on the Mac

great new version
thank you

> Greetings
> Christian
>
> --
> See you in Orlando, Florida for Real World 2012
>
> More details and registration here:
> http://www.realsoftware.com/community/realworld.php
>
>
>
> _______________________________________________
> Mbsfmplugin_monkeybreadsoftware.info mailing list
> <email address removed>
> https://ml01.ispgateway.de/mailman/listinfo/mbsfmplugin_monkeybreadsoftware.info

Gruß
Holger
_______________________________________________
Mbsfmplugin_monkeybreadsoftware.info mailing list
<email address removed>
https://ml01.ispgateway.de/mailman/listinfo/mbsfmplugin_monkeybreadsoftware.info

Re: [MBS] Blog article about using Webviewer functions
Date: 15.12.11 12:39 (Thu, 15 Dec 2011 12:39:08 +0100)
From: Christian Schmitz

Am 15.12.2011 um 12:28 schrieb Holger Herbst:

>> Does our plugin function work for this to get the source code of the page?
>
> WebViewer.GetSource returns the same as the content function in Filemaker: on Mac raw XML (OK) and on Windows (FMA9, Win7) a mixture of XML and HTML that has to be filtered (not nice)
>

Then they probably use the same.

Can you fix the &gt; tags by replace all on the text?

Greetings
Christian

Re: [MBS] Blog article about using Webviewer functions
Date: 15.12.11 12:28 (Thu, 15 Dec 2011 12:28:34 +0100)
From: Holger Herbst

Am 15.12.2011 um 11:45 schrieb Christian Schmitz:

>
> Am 15.12.2011 um 10:37 schrieb Holger Herbst:
>
>> If I send a call with a complete Adress to GoogleMaps,…
>
> With google maps, you could use their API and query directly.

sorry but I forgot to mention that I use their API

>
>> What would have helped me in this case would be extracting the XML from the webviewer as unformed XML. Is there any way to achieve this with the plugin? T
>
> Does our plugin function work for this to get the source code of the page?

WebViewer.GetSource returns the same as the content function in Filemaker: on Mac raw XML (OK) and on Windows (FMA9, Win7) a mixture of XML and HTML that has to be filtered (not nice)

>
> Greetings
> Christian
>
> --
> See you in Orlando, Florida for Real World 2012
>
> More details and registration here:
> http://www.realsoftware.com/community/realworld.php
>
>
>
> _______________________________________________
> Mbsfmplugin_monkeybreadsoftware.info mailing list
> <email address removed>
> https://ml01.ispgateway.de/mailman/listinfo/mbsfmplugin_monkeybreadsoftware.info

Gruß
Holger
_______________________________________________
Mbsfmplugin_monkeybreadsoftware.info mailing list
<email address removed>
https://ml01.ispgateway.de/mailman/listinfo/mbsfmplugin_monkeybreadsoftware.info

Re: [MBS] Blog article about using Webviewer functions
Date: 15.12.11 11:45 (Thu, 15 Dec 2011 11:45:37 +0100)
From: Christian Schmitz

Am 15.12.2011 um 10:37 schrieb Holger Herbst:

> Hi Christian,
>
> what I didn't understand was why nobody uses GoogleMaps.

We do all the time.

> If I send a call with a complete Adress to GoogleMaps,…

With google maps, you could use their API and query directly.

> What would have helped me in this case would be extracting the XML from the webviewer as unformed XML. Is there any way to achieve this with the plugin? T

Does our plugin function work for this to get the source code of the page?

Greetings
Christian

Re: [MBS] Blog article about using Webviewer functions
Date: 15.12.11 10:37 (Thu, 15 Dec 2011 10:37:32 +0100)
From: Holger Herbst
Hi Christian,

what I didn't understand was why nobody uses GoogleMaps. If I send a call with a complete Adress to GoogleMaps, the location data is returned as XML. This content can be extracted from the webviewer object and be parsed to FM-Fields. No need for a plugin :-). This is easily implemented on the Mac. In a Windows-environment there is a little difficulty because all XML output is enveloped in HTML in the webviewer.

What would have helped me in this case would be extracting the XML from the webviewer as unformed XML. Is there any way to achieve this with the plugin? The XML delivered by the webviewer in Windows parses every "<" to html "&lt;" and so on. Because the presentation of the XML is well formed in the webviewer every html-tag is included in what you get out of the webviewer with FM-functions.

I've for now written a custom function that filters the html from the webviewer content but this has to be changed every time Google changes its output or if you decide to use another source on the web. Very painful.

Holger

Am 15.12.2011 um 00:38 schrieb Christian Schmitz:

> Hi,
>
> please check my newest article:
>
> http://www.mbsplugins.de/filemaker.php
>
> Greetings
> Christian
>
> --
> See you in Orlando, Florida for Real World 2012
>
> More details and registration here:
> http://www.realsoftware.com/community/realworld.php
>
> _______________________________________________
> Mbsfmplugin_monkeybreadsoftware.info mailing list
> <email address removed>
> https://ml01.ispgateway.de/mailman/listinfo/mbsfmplugin_monkeybreadsoftware.info

_______________________________________________
Mbsfmplugin_monkeybreadsoftware.info mailing list
<email address removed>
https://ml01.ispgateway.de/mailman/listinfo/mbsfmplugin_monkeybreadsoftware.info