Code to Text Ratio very low due to the map module

  • kampats
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
11 years 5 months ago #2209 by kampats
Hello ,
Congats for the PERFECT module!
I usually try to find out myself the solution but after spending a lot of time I thought that would be better to ask the expert!

I am trying to increase the code text ratio. The amount of text is good and in the most of my webpages is the seo proposed (300-400 words)

In the pages were I have the map (And they are a lot) for ex.:
www.inthessaloniki.com/index.php/white-tower-museum

the code for the map module is really big in html of the page

How is it possible to solve this?I would be really happy if there is any solution (map)because it is just the one I was looking for a long time and there are a lot of information depending from this now.

Thank you in advance!

Please Log in or Create an account to join the conversation.

More
11 years 5 months ago - 11 years 5 months ago #2210 by Dima
Hi

Try to set in map details:
- Open Advanced options slider
- Set Loading content data dynamically to Yes

In this case the infowin content will be loaded only when user click on placemark. This cause the less page size, and the page loading will be more quickly.

Don't forget support my developments: post review in JED , donate , help with translation ;)
Last edit: 11 years 5 months ago by Dima.
The following user(s) said Thank You: kampats

Please Log in or Create an account to join the conversation.

  • kampats
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
11 years 5 months ago #2212 by kampats
It loads fast anywy. I only want to minimize the html for SEO reasons. I tried the dynamically option but after that the placemarks don't open after clicking on them. I am afraid there is no other solution for this is there?

Is there any possibility to add this code on an external css?

Please Log in or Create an account to join the conversation.

More
11 years 5 months ago #2213 by Dima
Sorry, what code, and what CSS?

Can you enable dynamic loading and give me a link to your site, in this case I check errors, may be it is my bug in code.

Don't forget support my developments: post review in JED , donate , help with translation ;)

Please Log in or Create an account to join the conversation.

More
11 years 5 months ago #2214 by Dima
I've checked.
Yes, after update joomla to 2.5.11 the dynamic loading doesn't work. Some problems with mootools call.

In 1-2 days I try to rewrite call to use pure ajax call.

Don't forget support my developments: post review in JED , donate , help with translation ;)

Please Log in or Create an account to join the conversation.

  • kampats
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
11 years 5 months ago #2446 by kampats
The webpages where are your map modules are being download very very fast. I have no problem on this at all. The problem is the big html code of the page which as I have read causes problem on the seo.

for example in the page inthessaloniki.com/index.php/museum-of-photography-thessaloniki

even if my text is too big i get this number on text/code ratio:text 0%
Attachments:

Please Log in or Create an account to join the conversation.

Time to create page: 0.187 seconds
Powered by Kunena Forum