Friday, January 21, 2011

SEO friendly maps with jQuery

In my free time I am working on a social networking site for RC pilots. I have information pages for various RC airfields and I was looking for a good way to display a listing of the fields. Putting markers on an embedded google map is a great way to display this type of data to users. The method I have seen recommended for this is to make separate list and map views. I don't really think that is a great user experience though.

The main reason making two pages is suggested is that maps require many lines of code and JavaScript functions that will dilute your content. The solution I arrived at was to use as little javascript as possible to generate my map. I ended up accomplishing this by using javascript to parse the content of the page to generate the markers.

To be able to easily parse out the data I wanted to display on the map I ended up making my own microformat. I put a class of field on the div that contained each field I was showing on the page. In that div I put the content that I wanted to display in the information popup for each marker. Then in that div I put two spans that contained the latitude and longitude and gave them each a class. The results ended up looking like this:


Then I wrote some javascript to parse this microformat and generate markers for my map. I used jQuery selectors to select each field in the html. For each field the latitude, longitude, and html contents are selected. Then the add_marker method is called to setup the marker with that data. After the marker is created I hide the field div.


Users with javascript will see a map with a bunch of markers that have an information bubble when clicked on. Users that do not have javascript enabled will see a list of field information. The textual content is the same for both users, the users with javascript just get an improved experience.

Go to www.checkthesock.com/fields to see the end result.

90 comments:

Melissa Ross said...

I'll try looking into this further in the next few weeks, Creating SEO friendly maps seem to be a good strategy.

white label seo

Amarant said...

Thanks a lot for sharing. I'm still new to Javascript, so I can't do a lot without jQuery templates like these. I'll check out your other posts for sure.

seo consultant

jonwilson said...

This looks nearly identical to how I do things. In fact, our code would practically be the same if I didn't have comments all over the place. Great minds think alike, eh?

seo philippines

Boyd J said...

jQuery is my favorite programming language, but you still showed me something I haven't tried before. I have a lot more to learn, I guess.

resell seo

Bradley said...

I'm not much devoted to learning programming languages, but a knowledge in jQuery could bode my career well.

web design norwich

Anna said...

This is a great tool for those involved in the SEO and SEM industry. I can already see how it can help me in my plans for dental marketing services.

George Smith said...

Thank you for sharing this SEO maps with jQuery. I have been encountering some problems about jQuery. I'll definitely try this out.

local seo

MarkRupperts said...

Other people may not be familiar with the SEO MApP jquery. It is good to see a tutorial post about this one. A lot of people who are new to SEO world will surely benefit from this.


web design perth

Chealsey Hersh said...

JavaScript functions will really dilute your content. The codes you have provided are really helpful to prevent that from happening. I have to agree with you that he textual content is the same for both users, the users with javascript just get an improved experience.

experiential marketing

Ross Taylor said...

I feel this is one of the so much vital information for me. And i am happy studying your article. However should observation on some general issues, The web site taste is ideal, the articles is actually great : D. Excellent activity, cheers.
Affordable SEO Reseller Program

Dheeraj said...

I'm impressed. You're truly well informed and very intelligent. You wrote something that people could understand and

made the subject intriguing for everyone. I'm saving this for future use.seo company birmingham

Lewis N. Clark said...

In my free time I am working on a social networking site for RC pilots. I have information pages for various RC airfields and I was looking for a . www.ccca-online.org

urlsubmission said...

great post nice stuff here to read thanks earn online

jorg gray said...

Concierge seo in dallas Services combines web design, development, and social media towards search engine optimization.

Mary Hickman said...

great blog ever also very simple

Affordable Search Engine Optimization

Jenifer Carlos said...

Thanks for sharing the insight with us. Get Local SEO Packages to promote your business.

jorg gray said...

At the heart of every successful website, content marketing, or PPC campaign is a solid SEO strategy. SEO Dallas tx

jhansi joe said...

Thanks for sharing this valuable information to our vision. You have posted a trust worthy blog keep sharing.
Regards,
Web design training institute in Chennai

Robert F. Crocker said...

I had a flash of inspiration to write an article about external links in the world of search engine optimization. free plagiarism checker

Harshita said...

Thank you for this detailed article on Web design training. I’m aspiring to do Web design training.

Rahul said...

Thank you for this detailed article. It has been really helpful for my web designing courses in Chennai.

Rahul said...

Hello Admin, thank you for the informative post. At Fita academy, we provide the best IT trainings for various courses. You can check our Fita Chennai review page to know more about our quality and standards.

Talha Yeasin said...

Are you a internet site owner like plagiarism-checker.me and trying to ensure publishing precise content material for your website? You need a very good plagiarism checker for this cause. This sort of device can check your content material for plagiarism before you post it. To check your content, click Plagiarism Checker

Talha Yeasin said...

Buy Instagram likes , Permanent & Real Look likes that will Boost Your SERPS. Check out our Affordable Packages Instagram Packages. http://socialviralize.com/buy-instagram-likes/

Raza abbas said...

This post has helped me for an article which I am writing. Thank you for giving me another point of view on this topic. Now I can easily complete my article. Cheers

graniet tafelblad

PLC Training In Chennai said...

PLC Training in Chennai
PLC Training Institute in Chennai
PLC Training Center in Chennai
PLC Training Course in Chennai
PLC Course in Chennai
PLC SCADA Training in Chennai
PLC Training Centre in Chennai
PLC SCADA Training Institute in Chennai
Best PLC Training in Chennai
Best PLC Training Institute in Chennai
SCADA Training in Chennai
DCS Training in Chennai
Automation Training in Chennai
Automation Training Institute in Chennai
Industrial Automation Training in Chennai
HMI Training in Chennai
VFD Training in Chennai
Process Automation Training in Chennai
Final Year Projects in Chennai
IEEE Projects in Chennai
Mechanical Projects in Chennai
Embedded Training in Chennai
VLSI Training in Chennai
Robotics Training in Chennai
Inplant Training in Chennai
AutoCad Training in Chennai
IT Training institutes in Chennai
Web Designing Training in chennai

Priya said...

Web designing is the process of building our website in an attractive way that includes series of steps like planning, creation and updation of our website.web designing course in chennai | web designing training in chennai | web designing courses in chennai.

Muneer Ahmed said...

This is also a very good post which I really enjoy reading. It is not everyday that I have the possibility to see something like this. Seo service

Sk Royel said...

In the recent times, website development services or products are in great demand. There is a dire need to create a technology that is reliable and cost effective. See more at: web developer

Sathik Ali. A said...

Amazing Post on Seo with Jquery. I am glad to say i am giving SEO Training in Chennai in 100% real time practical for all the students. Our IICT Chromepet Reviews are given here hope to continue my service in better way with minimum cost.

samekhan said...

What are the benefits of Solar project for 5000 School, GOP?
Posted on March 24, 2016 by admin
An individual loves the surroundings and desires to conserve the type can make utilization of solar panels within their home. It really is very interesting point that you can do to save your earth’s nature. panel is the gadget which is used within absorbing the power from sunlight. Its functionality is to produce the heat as well as electricity. The solar panel can also be known through another title a PV cell. This really is made of numerous cells that are used to convert lighting from sunshine into the electrical power. The entire perform of the -panel is based on the sun. The actual solar panel was created by the technicians such a method that it is confronted towards the direct sun light. This device absorbs the sun and creates the heat and also electricity. The greater rays it is going to absorb, much more heat along with electricity it will eventually generate. These days the amounts of family in their home are using the actual solar panel. The folks living in Pakistan can use solar in pakistan easily with no extra costs.
solar in pakistan

samekhan said...

RELATIONAL VS NON RELATIONAL DATABASE


Content

DBMS
database Models
The relational model
Shotgun approach (NoSQL)
Popular DBMSs
Relational DBMS
NoSQL (NewSQL) database
Comparison of SQL and NoSQL databases

The term database involves a fairly large number of very different from each other tools for working with databases (individual programs and shared libraries). Since these come in various forms and types, from the second half of the 20th century was designed by a huge number of different databases, and other applications to work with the database.

Amirtha rao said...

Your website is totally awesome and loaded with various informative posts on web design and development. Keep on updating your blog. Web Design Training | Web designing course in Chennai

prathap kumar said...

Interesting Article

Java Training in Chennai | Online Java Training

prathap kumar said...

Wow. This really made my day. Thanks a lot!
JavaScript Training Courses | Javascript Training in Chennai

Nikshitha S said...

Very informative content. Digital marketing is one of the best marketing strategy through which we can promote our product or service. In digital marketing we mainly focus on SEO and SMO. The main task involved is to analyse the keyword and to bring the website at top position for the specific keyword.
digital marketing course in chennai | Digital Marketing training in chennai

Jeanne Davies said...

This was a great and interesting article to read. I have really enjoyed all of this very cool information webs service

varshini devi said...

Thanks for your informative article on digital marketing trends. I hardly stick with SEO techniques in boosting my online presence as its cost efficient and deliver long term results.
Regards,
SEO Training in Chennai|SEO Training|SEO Training in Chennai

Priya said...


Through digital marketing we can promote our product effectively to the customers through online. It is one of the most famous marketing strategy that is used nowadays
digital marketing course in chennai | Digital Marketing training in chennai

geethu said...

To learn shorter programs when compared to Java then it is the right time to choose python training. There is increasing market demand for professionals who have completed python training.
python training in chennai | python training institutes in chennai

mary Brown said...

I have read your blog its very attractive and impressive. I like it your blog.

Java Training in Chennai | Core Java Training in Chennai

Online Java Training | Java EE Training Institute in Chennai

mary Brown said...

I have read your blog its very attractive and impressive. I like it your blog.

Dot Net Training in Chennai | Online Dot Net Training

Dot Net Training in Chennai | LINQ Training in Chennai | ASP.NET Training in Chennai

mary Brown said...

PHP Training in chennai | PHP Training Course

PHP Training in chennai | Online PHP Course

mary Brown said...

JavaScript Training Courses | Javascript Online Training | Angularjs 2 Training in Chennai

mary Brown said...

Wow. This really made my day. Thanks a lot!

Javascript Training in Chennai | HTML5 Training in Chennai

mary Brown said...

Interesting Article
JQuery Training | Online Javascript Training

Sathiaja Sarah said...

dear,
admin
If you want your website to meet with success online, invariably you have to select the best of best web designer. Here are the tips you can follow in selecting that web developer, who meets with your expectations.
See more at:website design Boston

Amirtha rao said...

Hi Admin, thanks for sharing awesome seo friendly website template. I think of using one for my new Digital Marketing Training site.Digital Marketing Training Institute in Chennai | Digital Marketing Course

Best Multimedia (Dilsukhnagar Arena) said...

Thanks for sharing the Article...web design course

Nikshitha S said...

Well Said, you have furnished the right information that will be useful to anyone at all time. Thanks for sharing your Ideas.
SAS Training in Chennai | SAS Course in Chennai

Geetha Arcus infotech said...

My Arcus offer java training with 100% placement. Our java training course that includes fundamentals and advance java training program with high priority jobs. java j2ee training with placement having more exposure in most of the industry nowadays in depth manner of java

java training in chennai

Sathiaja Sarah said...

After you realize that you need a professional webdesign company, what do you need to do next? How do you know if you are hiring one that will deliver the results you are seeking? Read this article for some helpful guidelines.
see more details:web site design Massachusetts

santhosh p.j said...

This theoretical and pictorial definition about SEO is very helpful,please share some other ideas of SEO.
web designing training | web designing training in chennai

SEO Brothers said...

Nice Post. Thanks for sharing. But I will share a helpful tips. We all want to get Google top ranking with our content/posts. But many time we are unable to get this. Do you know why? Google want Fresh and Unqiue content. But how you can understand my content is free and Unqiue. For this use Plagiarism Detector tools. But many of them don’t use Google. This is the first tool I am going to share which will use Google to get give that your content Unique or not. The big part is that this tools is free. So try this free Plagiarism Software and get first page rank easily.

Andrew Son said...

SEO means search engine optimization,which has three steps of process involved in SEO.The three steps are finding keywords,on page optimization,off page optimization.
thank you..
Regrads,
JAVA Training in Chennai | JAVA Training

Rumon Mridha said...

You will greatly benefit from a reliable web design company that is offering reliable services especially if you are planning to establish an online business.
web design brisbane

Paul Miller said...

Java is a platform independent general purpose computer programming language. This java can run on any virtual machine. James gosling is a developer of java at sun microsystem laboratory. It was origin by two programming language namely c and c++(c with classes). Thank you..!!
Regards,
JAVA Training in Chennai | JAVA Training

Arjun Rishi said...

Great post. I learned some new things. Thanks for sharing.

web designing training in chennai

Devi.Angularjs said...

JavaScript Training in Chennai | Ecmascript 6 Training in Chennai | ES6 Training in Chennai | Angular 2 Training in Chennai | HTML5 Training in Chennai

Yeoman Training | D3 Training | ReactJS Training | Gulp Training | CommonJS Training

Asad Hanif said...

Free plagiarism checker for avoiding plagiarism, try best anti plagiarism detection tool for detecting plagiarism online.

Rumon Mridha said...

This article will talk about how to duplicate the methods used by successful businesses through hiring a web design company to create an impressive website.
web design brisbane

Mamunhayden IT said...

Indeed, this is a beneficial service for authors. How one could register for such a service? Thanks in advance. mamunhaydenit

Nikshitha S said...

Very interesting content which helps me to get the indepth knowledge about the technology. To know more detils about the course visit this website.
Struts training in Chennai | Struts Training Institute in Chennai

Anu Sri said...


Great article. Keep sharing such a useful post.

php training in chennai

Jhon anderson said...

Great and useful post.
Regards,
SAS Training Institute in Chennai | SAS Training Chennai

Adiba Alam said...

As such, we increment the perceivability of your site through natural hunts and different implies that makes your online nearness felt betterly.http://www.whakki-media.co.uk

christyjames said...

Great tips! Though SEO is my favourite part of the blogging world. Good tips from you. thanks
SEO Services Melbourne | SEO Consultant Melbourne

historypak said...

Extraordinary article Lot's of data to Read...Great Man Keep Posting and upgrade to People..Thanks 100% Manual blog comments

Davidjohn said...

Thanks, that was a really cool read!
Digital Marketing

Gopi Perumal said...

Pretty article! I found some useful information in your blog, it was awesome to read, thanks for sharing this great content to my vision, keep sharing.
Regards,

SEO Training in Chennai | Digital Marketing Training in Chennai

Gamer said...

it was a wonderful chance to visit this kind of site and I am happy to know. thank you so much for giving us a chance to have this opportunity.. 30 High TF backlinks $5

Rumon Mridha said...

Web Strategy should be based on a sound understanding of your audience, an establishment of trust and a creative approach.
brisbane web design

Sanjana E said...

Glad to see your explanation. thanks for the update
Php Training institute in velachery

Melisa said...

These all are notable facts… I stick with responsive website design for my business. With the mobile marketing is at its peak stage, having website that goes comfy on all devices will help your business. You can check my website for more details on the importance of responsive website design. PHP Training in Chennai | Best PHP training in Chennai | PHP Training Institute in Chennai

Mohana M said...

SAS plays a vital role in Analytics field. If anyone interested to learn SAS Training visits GangBoard. We are the best provider of SAS Online Training | Data Science with R Training | Python Training

tarikul islam said...

This is best PHP tutorial in youtube. you can learn full coding and also the best expamles in here. This the best of learning and earning ways of youtube.
You can the full boston php tutorial. how to rank youtube videos fast

pavitha vinu said...

Very useful information to the final year students to gain the theoretical and practical knowledge.
final year projects in Chennai | final year ieee projects

Amlon Terence said...

Virginia SEO Company I wanted to thank you for this great read!! I definitely enjoying every little bit of it I have you bookmarked to check out new stuff you post.

for IT the said...

I have read your blog its very attractive and impressive. I like it your blog.

Google Search Engine Optimization Services Guaranteed SEO Company in India

SEO Company in India SEO Services in India

historypak said...

Positive site, where did u come up with the information on this posting?I have read a few of the articles on your website now, and I really like your style. Thanks a million and please keep up the effective work. seo packages in pakistan

venkatweetz said...

Very Nice Blog I like the way you explained these things. I’ve been looking for ways to improve my website and overall rankings.I hope your future article will help me further

venkatweetz said...

Very Nice Blog I like the way you explained these things. I’ve been looking for ways to improve my website and overall rankings.I hope your future article will help me further.Take SEO Training in Chennai to mould yourself.

Mani kandan said...

There is no doubt in your post. It is really valuable for all seo people. Of course, they follow your guidelines when they need to create a map for their business.

android training in Bangalore | aws training in Bangalore

sirking said...

Thanks for sharing this information. I really like your blog post very much. You have really shared a informative and interesting blog post with people.. seo agencies

Mary Brown said...

I have read your blog its very attractive and impressive. I like it your blog.

Guaranteed SEO services Guaranteed SEO

SEO Company in India SEO Services in India

Gamer said...

Nice blog and absolutely outstanding. You can do something much better but i still say this perfect.Keep trying for the best. best seo services company

Ramya Krishnan said...

Nice article, Thanks for sharing your information.
Java Training institute in chennai | Java Training in velachery

jowdjbrown said...

Pretty good post. I just stumbled upon your blog and wanted to say that I have really enjoyed reading your blog posts. How big is the move to internet commerce

Afzal khan said...

Thank you for such a well written article. It’s full of insightful information and entertaining descriptions. Your point of view is the best among many. role of digital marketing

Veronica said...

Best website design for your business, magazine, portfolio,
ecommerce or personal blog websites