Re: [Qgis-user] How to open external links, interpret css or JavaScript from a WMS getFeatureInfo result

2012-12-12 Thread Astrid Emde
Am 07.12.2012 09:06, schrieb Jürgen E. Fischer:
 Hi Astrid,

 On Fri, 07. Dec 2012 at 09:50:19 +0100, Astrid Emde wrote:
 I am using WMS in QGIS and get Information about my data through the
 getFeatureInfo-request. In the html-result of the request I have links to
 other websides or scripts and I refer to an external css-file.
 Unfortunately QGIS does not open the links and does not use the css.
 Which version are you referring to?  In master you should be able to follow
 links.  You can also print HTML responses.

 Looks like QGIS ignores the JavaScript Code too?
 Is there a possibility to enable QGIS to open the links,use the css and
 interpret JavaScript?
 Not sure.  QGIS uses Qt's internal webkit to render the page.  Do you have a
 public sample server to try that with?


 Jürgen

Hello Jürgen,

you could take this WMS to test.

https://lx-gis.stadt.wolfsburg.de/cgi-bin/mapserv?map=/gds/map/stadtteilgrenzen_extern.mapVERSION=1.1.1

The inforesult should contain an external image. But maybe this already
works with the master... I did not test with the master yet.

-- 

Best regards 

Astrid Emde


Where2B Konferenz 2012
13. Dezember 2012 in Bonn
www.where2b-conference.com


 Astrid Emde
 WhereGroup GmbH  Co.KG
 Eifelstraße 7
 53119 Bonn
 Germany

 Fon: +49(0)228 90 90 38 - 19
 Fax: +49(0)228 90 90 38 - 11

 astrid.e...@wheregroup.com
 www.wheregroup.com

 Folgen Sie der WhereGroup auf twitter: http://twitter.com/WhereGroup_com

Amtsgericht Bonn, HRA 6788
---
Komplementärin:
WhereGroup Verwaltungs GmbH
vertreten durch:
Olaf Knopp, Peter Stamm
---
 pgp-public key:
 http://pgp.mit.edu:11371/pks/lookup?search=0x06DA52D72D515284
  Signierte und/oder verschlüsselte Nachrichten sind sehr willkommen
  Signed and/or encrypted mail is highly appreciated

___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user


Re: [Qgis-user] How to open external links, interpret css or JavaScript from a WMS getFeatureInfo result

2012-12-12 Thread Jürgen E . Fischer
Moin Astrid,

On Wed, 12. Dec 2012 at 09:35:32 +0100, Astrid Emde wrote:
  Looks like QGIS ignores the JavaScript Code too?
  Is there a possibility to enable QGIS to open the links,use the css and
  interpret JavaScript?
  Not sure.  QGIS uses Qt's internal webkit to render the page.  Do you have
  a public sample server to try that with?

 you could take this WMS to test.
 
 https://lx-gis.stadt.wolfsburg.de/cgi-bin/mapserv?map=/gds/map/stadtteilgrenzen_extern.mapVERSION=1.1.1
 
 The inforesult should contain an external image. But maybe this already
 works with the master... I did not test with the master yet.

There were two problems with that:  External images didn't work at all and also
references to SSL sites without a verifyable certificate didn't work.

With c7fb23079 it works now.   At the same time I also reworked the context
menu so that the print entry is now added to the default menu (instead of
replacing it completely) and enabled the Inspect entry in debug builds.


Jürgen 

-- 
Jürgen E. Fischer norBIT GmbH   Tel. +49-4931-918175-31
Dipl.-Inf. (FH)   Rheinstraße 13Fax. +49-4931-918175-50
Software Engineer D-26506 Norden   http://www.norbit.de
committ(ed|ing) to Quantum GIS IRC: jef on FreeNode 


-- 
norBIT Gesellschaft fuer Unternehmensberatung und Informationssysteme mbH
Rheinstrasse 13, 26506 Norden
GF: Jelto Buurman, HR: Amtsgericht Emden, HRB 5502

___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user


Re: [Qgis-user] How to open external links, interpret css or JavaScript from a WMS getFeatureInfo result

2012-12-12 Thread Astrid Emde
Am 12.12.2012 11:41, schrieb Jürgen E. Fischer:
 Moin Astrid,

 On Wed, 12. Dec 2012 at 09:35:32 +0100, Astrid Emde wrote:
 Looks like QGIS ignores the JavaScript Code too?
 Is there a possibility to enable QGIS to open the links,use the css and
 interpret JavaScript?
 Not sure.  QGIS uses Qt's internal webkit to render the page.  Do you have
 a public sample server to try that with?
 you could take this WMS to test.

 https://lx-gis.stadt.wolfsburg.de/cgi-bin/mapserv?map=/gds/map/stadtteilgrenzen_extern.mapVERSION=1.1.1

 The inforesult should contain an external image. But maybe this already
 works with the master... I did not test with the master yet.
 There were two problems with that:  External images didn't work at all and 
 also
 references to SSL sites without a verifyable certificate didn't work.

 With c7fb23079 it works now.   At the same time I also reworked the context
 menu so that the print entry is now added to the default menu (instead of
 replacing it completely) and enabled the Inspect entry in debug builds.


 Jürgen 

Hello Jürgen,

thanks a lot for the Bug fix. I will test the solution an give feedback.

-- 

Best regards

 Astrid Emde


Where2B Konferenz 2012
13. Dezember 2012 in Bonn
www.where2b-conference.com


 Astrid Emde
 WhereGroup GmbH  Co.KG
 Eifelstraße 7
 53119 Bonn
 Germany

 Fon: +49(0)228 90 90 38 - 19
 Fax: +49(0)228 90 90 38 - 11

 astrid.e...@wheregroup.com
 www.wheregroup.com

 Folgen Sie der WhereGroup auf twitter: http://twitter.com/WhereGroup_com

Amtsgericht Bonn, HRA 6788
---
Komplementärin:
WhereGroup Verwaltungs GmbH
vertreten durch:
Olaf Knopp, Peter Stamm
---
 pgp-public key:
 http://pgp.mit.edu:11371/pks/lookup?search=0x06DA52D72D515284
  Signierte und/oder verschlüsselte Nachrichten sind sehr willkommen
  Signed and/or encrypted mail is highly appreciated

___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user


Re: [Qgis-user] How to open external links, interpret css or JavaScript from a WMS getFeatureInfo result

2012-12-07 Thread Jürgen E . Fischer
Hi Astrid,

On Fri, 07. Dec 2012 at 09:50:19 +0100, Astrid Emde wrote:
 I am using WMS in QGIS and get Information about my data through the
 getFeatureInfo-request. In the html-result of the request I have links to
 other websides or scripts and I refer to an external css-file.
 Unfortunately QGIS does not open the links and does not use the css.

Which version are you referring to?  In master you should be able to follow
links.  You can also print HTML responses.

 Looks like QGIS ignores the JavaScript Code too?
 Is there a possibility to enable QGIS to open the links,use the css and
 interpret JavaScript?

Not sure.  QGIS uses Qt's internal webkit to render the page.  Do you have a
public sample server to try that with?


Jürgen

-- 
Jürgen E. Fischer norBIT GmbH   Tel. +49-4931-918175-31
Dipl.-Inf. (FH)   Rheinstraße 13Fax. +49-4931-918175-50
Software Engineer D-26506 Norden   http://www.norbit.de
committ(ed|ing) to Quantum GIS IRC: jef on FreeNode 


-- 
norBIT Gesellschaft fuer Unternehmensberatung und Informationssysteme mbH
Rheinstrasse 13, 26506 Norden
GF: Jelto Buurman, HR: Amtsgericht Emden, HRB 5502

___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user