SVG and Firefox
GenoPro Home  |  Get Started With My Genealogy Tree  |  Buy  |  Login  |  Privacy  |  Search  |  Site Map
 
GenoPro Support Forum
Home        Members    Who's On
Welcome Guest ( Login | Register )
        


««123»»

SVG and Firefox Expand / Collapse
Author
Message
Post #10368 Posted 2/20/2006 12:31:20 PM


Famous Writer

Famous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous Writer This user is an important contributor to the GenoPro community This user is an important contributor to the translation of GenoPro This user is a contributor to FamilyTrees.GenoPro.com 

Group: Customers
Last Login: 10/31/2009 1:39:55 PM
GenoPro Version: 2.0.1.6
Posts: 438, Visits: 2,595
Just FYI, I've been testing new Netscape 8.1 on my comp, and it's altough it  (supposedly) has a firefox engine, it's uncapable of viewing SVG. I tried opening SVG test page, and it reports missing plug-in, but won't download...


"εν οιδα οτι ουδεν οιδα" (Σωκρατησ)  - "The only thing that I know is that I don't know anything" (Socrates)
Post #10385 Posted 2/21/2006 1:05:03 PM


Legendary Master

Legendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary Master This user is an important contributor to the translation of GenoPro 

Group: Administrators
Last Login: Today @ 10:15:34 AM
GenoPro Version: 2.5.0.2
Posts: 3,638, Visits: 15,174
appleshaw (2/20/2006)
After several clicks it then started a series of minor moves. Obviously it takes some time for the instruction to cross the Atlantic and for the data to return. Is it possible to cache the data to speed up this process?

The clicks on SVG are local scripts.  Once the SVG (or svgz) file is downloaded, everthing runs locally.

Finally, belated congratulations on the setting up and operation of familytrees. The initial upload of files took less than 10 minutes (plus a bit for pictures). When I changed a couple of files it took hardly any time at all, only sending files that had been changed. Impressive; to load the same files with ftp to my ISP takes 3 to 4 times as long (if not more)

Thanks.  The new update, Beta 15g, display better statistics, including unmodified files.  The good news is there is some room for improvement.  I am confident I can speed up the report generator by a factor of 2x to 3x, depending on the type of report.  Since I have to focus on releasing version 2.0, I will do those optimizations after GenoPro 2.0 has been localized and the new AutoArrange completed.

Post #10389 Posted 2/21/2006 4:59:45 PM
Forum Master

Forum MasterForum MasterForum MasterForum MasterForum MasterForum MasterForum MasterForum Master This user is an important contributor to the GenoPro community This user is a contributor to FamilyTrees.GenoPro.com 

Group: Customers
Last Login: Today @ 6:10:29 AM
GenoPro Version: 2.0.1.6
Posts: 980, Visits: 9,340
I have found that there is a big difference in panning performanace when using IE6 or FireFox1.5. Using IE (after downloading SVG Viewer 3.0) the panning is fine.

Using FireFox it is dreadfully slow and almost unusable. I have copied both the Adobe dlls to the Firefox plugin directory, and also tried renaming them in case they conflict with FireFox.

I have not been able to check the performance of earlier versions as my ISP has lost all of my web files!. Local versions did not help either.

Any suggestions out there?
Post #10391 Posted 2/21/2006 7:45:42 PM


Forum Master

Forum MasterForum MasterForum MasterForum MasterForum MasterForum MasterForum MasterForum Master This user is an important contributor to the GenoPro community This user is an important contributor to the translation of GenoPro This user is a contributor to FamilyTrees.GenoPro.com 

Group: Customers
Last Login: Today @ 5:50:33 AM
GenoPro Version: 2.0.1.6
Posts: 758, Visits: 6,290
Have reported this once before:

The last character (japanese, vertical) at the bottom is not in line with the upper ones.
Post #10400 Posted 2/22/2006 10:11:53 AM


Grand Master

Grand MasterGrand MasterGrand MasterGrand MasterGrand MasterGrand MasterGrand MasterGrand Master This user is a contributor to FamilyTrees.GenoPro.com This user is an important contributor to the GenoPro community 

Group: Customers
Last Login: Today @ 8:46:16 AM
GenoPro Version: 2.0.1.6
Posts: 1,347, Visits: 6,680
appleshaw (2/21/2006)
I have found that there is a big difference in panning performanace when using IE6 or FireFox1.5. Using IE (after downloading SVG Viewer 3.0) the panning is fine.

Using FireFox it is dreadfully slow and almost unusable. I have copied both the Adobe dlls to the Firefox plugin directory, and also tried renaming them in case they conflict with FireFox.
I agree the performance of Firefox with its built-in SVG engine is poor but I took the view that something is better than nothing. It is implemented using a Javascript and as Dan says has nothing to do with the speed of the server its was loaded from.  I am still looking for alternative ways of panning with Firefox as and when I get the time. As I have mentioned before, if you hold down the mouse button over the green direction arrow the 'speed' will appear to increase as biggers jumps are made. If you just click up and down this effect is lost. Also the fewer Drawing objects on each GenoMap the better the speed.

I did try a zoom and pan Firefox extension http://www.treebuilder.de/zoomandpan/index.htm but it does not work with frames and its performance is not any better.  Maybe the Mozilla guys will look at improving performance once they have implemented the full SVG 1.1 spec.

 If you use the Adobe SVG Viewer with Firefox I believe you have to use the 6.0 beta as the ASV 3 plugin does not work. As well as copying the plugin files you need to disable the built-in Firefox engine. (Type about:config in the location bar and scroll down to find svg.enabled. double click to toggle). However if you do use Adobe with Firefox the direction arrows and the zoom buttons do not work as Adobe does not recognize the Firefox Javascript engine. You will therefore need to use Adobe's built-in zoom & panning.

I also intend to see if a Flash solution is possible if I can get Adobe (who now own MacroMedia) to give me the .SWF file spec.


'lego audio video erro ergo disco' or "I read, I listen, I watch, I make mistakes, therefore I learn"
Post #10402 Posted 2/22/2006 11:52:41 AM


Grand Master

Grand MasterGrand MasterGrand MasterGrand MasterGrand MasterGrand MasterGrand MasterGrand Master This user is a contributor to FamilyTrees.GenoPro.com This user is an important contributor to the GenoPro community 

Group: Customers
Last Login: Today @ 8:46:16 AM
GenoPro Version: 2.0.1.6
Posts: 1,347, Visits: 6,680
V.L.o (2/20/2006)
Just FYI, I've been testing new Netscape 8.1 on my comp, and it's altough it  (supposedly) has a firefox engine, it's uncapable of viewing SVG. I tried opening SVG test page, and it reports missing plug-in, but won't download...

I just tried Netscape 8.1 but cannot find any reference to a builtin SVG engine. It probably uses the old 1.x Firefox build and not the 1.5.x build that has SVG support. I tried running it with Adobe SVG Viewer (ASV) by copying Adobe's 6.0 beta plugin files to Netscape's plugin folder and although it opened Adobe's test page http://www.adobe.com/svg/viewer/install/svgtest.html, as you say with a GenoPro report it prompts for ASV install. The Report uses Adobe's own code to check if ASV is installed (svgcheck.js) and I discovered that a change is required. i.e.

before line 113 that contains:
       (navigator.mimeTypes["image/svg-xml"]&&navigator.mimeTypes["image/svg-xml"].enabledPlugin!=null);
insert the line
       (navigator.mimeTypes["image/svg+xml"]&&navigator.mimeTypes["image/svg+xml"].enabledPlugin!=null)||

 otherwise overwrite the existing file in your skin folder with the revised script attached. The earlier comments about ASV under Firefox also apply to Netscape.

Another note to Dan to include the attached in the next release please.


'lego audio video erro ergo disco' or "I read, I listen, I watch, I make mistakes, therefore I learn"
Post #10403 Posted 2/22/2006 3:15:17 PM


Legendary Master

Legendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary Master This user is an important contributor to the translation of GenoPro 

Group: Administrators
Last Login: Today @ 10:15:34 AM
GenoPro Version: 2.5.0.2
Posts: 3,638, Visits: 15,174
I made an update of svgcheck.js.  If you download Beta 15g again, you will get the fix.

Post #10437 Posted 2/25/2006 11:14:56 AM
Forum Master

Forum MasterForum MasterForum MasterForum MasterForum MasterForum MasterForum MasterForum Master This user is an important contributor to the GenoPro community This user is a contributor to FamilyTrees.GenoPro.com 

Group: Customers
Last Login: Today @ 6:10:29 AM
GenoPro Version: 2.0.1.6
Posts: 980, Visits: 9,340
If you are having problems displaying your .svg tree diagram from your own ISP web site, then the steps I have taken, following Ron's guidance, may give pointers. If your web is based on an Apache server, and they are in a majority, then this may solve your problems.

First identify the server. I used IDServe.exe from http://grc.com/id/idserve.htm. Paste the URL you use for your site into the program and it will tell you which system provides the host.

If it is Apache then I used the following file posted into the root of my web space.

AddType image/svg+xml .svg
AddType image/svg+xml .svgz
AddEncoding gzip .svgz


mod_gzip_on No



There was a slight problem with my Ftp program as the filename has to be ".htaccess". When I first transferred the file nothing seemed to happen. I then renamed it on my PC to a conventional file type, eg htaccess. htm which transferred with no problem. I then renamed the file to .htaccess and it appeared to disappear (perhaps I should say disappeared from sight). However it is obviously still there as the files can now be seen without the 'Parsing error' I had before.

If your web server is not Apache then you will need to look at the site given by Ron and follow a similar course. Go to http://wiki.svg.org/index.php?title=Server_Configuration.

Finally I think that FireFox 1.5 does not need any of the Adobe plug-ins. I have tried various combinations of the two Abobe dlls and also run without them. It does not seem to matter if they are there or not. However do not disable svg from about:config if the plug-ins are not present. A sure way to crash FireFox the second time you access an svg file
Post #14804 Posted 11/30/2006 4:40:03 AM
Junior Member

Junior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior Member

Group: Customers
Last Login: 7/14/2007 7:51:12 PM
GenoPro Version: 2.0.0.7
Posts: 17, Visits: 47
I also had a problem viewing svgz files. I may be unique in that my tree is on a Zeus web server http://www.zeus.com/products/zws/, which does not support the AddEncoding htaccess directive. For information, I eventually got svgz to work with the following .htaccess directives:
AddType image/svg+xml svg
AddType image/svg+xml svgz
<files *.svgz>
Header Set Content-Encoding gzip
</files>
Post #16111 Posted 1/30/2007 2:33:44 PM
Forum Member

Forum MemberForum MemberForum MemberForum MemberForum MemberForum MemberForum MemberForum Member

Group: Customers
Last Login: 1/18/2008 11:58:06 AM
GenoPro Version: 2.0.0.3
Posts: 26, Visits: 163
I am still having trouble getting SVGZ to display correctly under Firefox on an Apache server. When I add the following lines to a .htaccess file, I still get the error below:

.htaccess

# MIME Types

AddType image/svg+xml .svg
AddType image/svg+xml .svgz
AddType application/x-javascript .es
AddType application/octet-stream .gno
AddType image/x-emf .emf
AddType image/djvu .djvu


mod_gzip_on No



Error:

XML Parsing Error: not well-formed
Location: http://www.MYSITE.COM/report1/genomapsz/genomap38.svgz
Line Number 1, Column 1:�
^


Some of the code I pasted above (see FilesMatch lines on this site) is not displaying correctly on this forum.
Post #16114 Posted 1/30/2007 2:52:29 PM


Legendary Master

Legendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary Master This user is an important contributor to the translation of GenoPro 

Group: Administrators
Last Login: Today @ 10:15:34 AM
GenoPro Version: 2.5.0.2
Posts: 3,638, Visits: 15,174
It appear the server is unable to read compressed SVG files.  An SVGZ file is a GZip-compressed SVG file.

Post #16116 Posted 1/30/2007 3:16:21 PM
Forum Member

Forum MemberForum MemberForum MemberForum MemberForum MemberForum MemberForum MemberForum Member

Group: Customers
Last Login: 1/18/2008 11:58:06 AM
GenoPro Version: 2.0.0.3
Posts: 26, Visits: 163
(edit: removed initial response)

Whoops, I overlooked one line. The full .htaccess section should be:


# MIME Types

AddType image/svg+xml .svg
AddType image/svg+xml .svgz
AddType application/x-javascript .es
AddType application/octet-stream .gno
AddType image/x-emf .emf
AddType image/djvu .djvu
AddEncoding gzip .svgz <---this was what I missed


mod_gzip_on No


Post #18763 Posted 8/3/2007 10:02:54 PM
Junior Member

Junior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior Member This user is a contributor to FamilyTrees.GenoPro.com 

Group: Forum Members
Last Login: 3/18/2008 12:17:50 PM
GenoPro Version: 2.0.0.9
Posts: 19, Visits: 48
Well, I hate to start this all over again, but, unless there is an answer somewhere else that I may have missed or didn't understand (very possible), I can not get SVG to work in Firefox. I have the latest version of GenoPro. It is enabled.

It won't work on my computer, let alone on my website. It works OK with Internet Explorer in both places. How do I get it to work on Firefox? Is this something that you are going to fix someday or is it our personal problem that you/we can't fix?

I dislike IE and tell everyone to use Firefox so I'd really like to get it to work.
Post #18765 Posted 8/4/2007 4:25:34 AM
Forum Master

Forum MasterForum MasterForum MasterForum MasterForum MasterForum MasterForum MasterForum Master This user is an important contributor to the GenoPro community This user is a contributor to FamilyTrees.GenoPro.com 

Group: Customers
Last Login: Today @ 6:10:29 AM
GenoPro Version: 2.0.1.6
Posts: 980, Visits: 9,340
Which version of Firefox are you using? The early version 1. did not have SVG support and if you went for upgrade you stayed with version 1.
Only after 1.5 was SVG support enabled and the current version is 2.0.0.6. Google Firefox 2, or Mozilla
Post #18797 Posted 8/8/2007 11:54:40 AM
Junior Member

Junior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior Member This user is a contributor to FamilyTrees.GenoPro.com 

Group: Forum Members
Last Login: 3/18/2008 12:17:50 PM
GenoPro Version: 2.0.0.9
Posts: 19, Visits: 48
I'm using version 2.0.0.9. So I must be doing something wrong, I suppose.
Post #18798 Posted 8/8/2007 11:56:51 AM
Junior Member

Junior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior Member This user is a contributor to FamilyTrees.GenoPro.com 

Group: Forum Members
Last Login: 3/18/2008 12:17:50 PM
GenoPro Version: 2.0.0.9
Posts: 19, Visits: 48
Sorry. I meant 2.0.0.6 Firefox and 2.0.0.9 GenoPro.
Post #18799 Posted 8/8/2007 3:12:08 PM


IT Director GenoPro

IT Director GenoProIT Director GenoProIT Director GenoProIT Director GenoProIT Director GenoProIT Director GenoProIT Director GenoProIT Director GenoPro  

Group: Customers
Last Login: Yesterday @ 4:07:55 PM
GenoPro Version: 2.4.0.3
Posts: 466, Visits: 6,096
The version of GenoPro do not affect the SVG.

For instance are you able to view this file?

http://familytrees.genopro.com/harry%2Dpotter/genomaps/genomap2.htm?x=454,y=-1292,highlight=true


If the facts don't fit the theory, change the facts.
-- Albert Einstein

Jean-Claude Morin
Information Technology Director, GenoPro.
http://www.genopro.com

Post #18802 Posted 8/8/2007 10:17:49 PM
Junior Member

Junior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior Member This user is a contributor to FamilyTrees.GenoPro.com 

Group: Forum Members
Last Login: 3/18/2008 12:17:50 PM
GenoPro Version: 2.0.0.9
Posts: 19, Visits: 48
Yes I could.
Post #18854 Posted 8/14/2007 9:27:43 PM
Junior Member

Junior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior Member This user is a contributor to FamilyTrees.GenoPro.com 

Group: Forum Members
Last Login: 3/18/2008 12:17:50 PM
GenoPro Version: 2.0.0.9
Posts: 19, Visits: 48
OK..........I could see that link but my tree still doesn't work.
Do I have to go in and re-write something?
Am I missing dll files?
Did I turn something on/off in the program that I shouldn't have?
I don't have Windows XP. Is that the problem?
Thank you
Post #18856 Posted 8/15/2007 4:27:21 AM


Grand Master

Grand MasterGrand MasterGrand MasterGrand MasterGrand MasterGrand MasterGrand MasterGrand Master This user is a contributor to FamilyTrees.GenoPro.com This user is an important contributor to the GenoPro community 

Group: Customers
Last Login: Today @ 8:46:16 AM
GenoPro Version: 2.0.1.6
Posts: 1,347, Visits: 6,680
If you can see one SVG page then it means your Firefox is configured ok. Is the SVG frame blank or do you get any error message? If so what is it? If you are using Firefox 2+ then you should have 'Error Console' on the Tools Menu.  Are any errors reported there? It is possible that the skin does not encode some unusual characters properly causing the page not to render.


'lego audio video erro ergo disco' or "I read, I listen, I watch, I make mistakes, therefore I learn"
« Prev Topic | Next Topic »

««123»»

Reading This Topic Expand / Collapse
Active Users: 0 (0 guests, 0 members, 0 anonymous members)
No members currently viewing this topic.
Forum Moderators: GenoProSupport, JcMorin, Ron

Permissions Expand / Collapse

All times are GMT -5:00, Time now is 10:31 AM

Copyright 1998-2009 GenoPro. All rights reserved. GenoPro and the GenoPro logo are trademarks.