Heya,
I'm using google api to access calendar data, and when I visit the site (djkstyles.com) I see the following:
http://cl.ly/2y2m3o3D0f0j1z0D0N03
But one some machines, this is what's seen:
http://cl.ly/292g2j3s341O2n3E020Y
It's really strange. The data coming through is consistent from Google; does anyone have any idas on what's up with this?
Thanks for any help.
Did a little bit more digging, and you're not alone: Calendar Issues Thread.
It seems that adding &hl=en to the end of your URLs should fix this. Like so: http://www.google.com/calendar/feeds/kbfj3n6iuc3u822d5omj06vt38%40group.calendar.google.com/public/basic?max-results=5&orderby=starttime&sortorder=ascending&callback=embedEvents&alt=json-in-script&futureevents=true&hl=en
I tried this and it fixed the raw data for me.
Related
One of my sites came up as hacked on Google recently so I have been trying to fix the problem. When I looked at it using a browser, everything looked normal, but when I looked at it using "Fetch as Google" a load of junk came up after the first meta tag. I got rid of the spurious code by adding:
<http-equiv="x-dns-prefetch-control" content="off">
to the header, but my question is: Does anyone have any idea how this could have happened please? I am on an IIS server but when speaking to the host company (123-reg) they said that it was not possible for their server to be hacked. Has anyone else had this sort of problem?
I have fixed the issue on the surface but I am concerned with where the vulnerability lies.
Thanks in advance for any help with this matter.
please do somebody know why (jQuery)Gmap3 in not showing map if request is coming from Kosovo? Even demos on their official site are not working.
Thx for help.
Just came across this: https://groups.google.com/forum/#!topic/google-maps-js-api-v3/E28X2lvjmbs while having a look, not sure if it's related or not?
As well as: https://groups.google.com/forum/#!topic/google-maps-js-api-v3/W9JRmDSGSTE
Looks like there have been some issues with Kosovo for a while even though I believe Google has recently recognized it as a country within it's maps?
the thing is, I have some given words and I want to search through my website for them, and display them to the user, but without the user entering any stuff.
Thanks so far!
UPDATE
and it should not be an iFrame ;-)
well ...
I found quite an easy solution, which is actually provided by google itself: http://www.google.com/cse/manage/create
it does not run in an iframe as well. I like it pretty much ;-)
I am integrating Google Maps with jQuery Mobile and .NET. I am following the Google Code (example 4) documentation here: http://jquery-ui-map.googlecode.com/svn/trunk/demos/jquery-mobile-example.html#jquery-mobile-example-4.html
I've been careful in transferring the code, but I keep receiving a blank frame. The map doesn't show up in the frame.
Anyone else run into this problem? Any recommendations on additional documentation, tutorials, videos, and reading?
I greatly appreciate anyone's time and help, thank you.
I think your problem is outlined here : http://www.smashinglabs.pl/gmap/examples
If, for any reason, any dimension of div will be equal 0 during
loading process, maps will stop working correctly. It is quite common
issue while loading tabs, accordions, etc.
He goes on to outline specific problem resolutions. Some of them:
Try calling the 'refresh' function manually google.maps.event.trigger($('#map').data('gmap').gmap, 'resize');
If your #map container doesn't have a set size, it will default to 0x0 by normal HTML/CSS standards. Try setting a size manually, say 300x300
etc...
It might be the google loader api key? (If you copy paste). Get any JS errors?
As Phill said, post some code and we'll be able to help you better.
If you are using jquery.ui.maps thats the wrong syntax. From what i can tell you are using another plugin.
Thank you for your time and help. After more research and additional help from others, I was able to find a Google Maps solution to get me moving more quickly. A great conversation that outlines resources I studied, used, and highlighted can be found in this google groups discussion.
I've come across an issue which unfortunately I can't seem to surpass, I'm also just a newborn to Ruby on rails unfortunately hence the number of questions
I am attempting to scrape a webpage such as the following:
http://www.yellowpages.com.mt/Malta/Grocers-Mini-Markets-Retail-In-Malta-Gozo.aspx
I would like to scrape The Addresses, Phones and URL of the next Page which in this case is
http://www.yellowpages.com.mt/Malta/Grocers-Mini-Markets-Retail-In-Malta-Gozo+Ismol.aspx
I've been trying just about anything i could think of but nothing seems to work due to them being set to invisible or so.
The Address is within an h3 tag but it does not appear to be scrap-able. I've been also looking into ScRUBYt from the following url http://www.rubyrailways.com/ajax-scraping-with-scrubyt-linkedin-google-analytics-yahoo-suggestions/, but i really cant seem to find heads or tails of how to apply them in this case.
I would really appreciate any pointers as this is an obstacle which i really need to surpass in order to move forward on my assignment. Thanks in advance for any help.
In the particular example you have given, the elements are not hidden, but loaded via ajax after the page load. So basically what you need is a http client which can run javascript (web browser?) to see those address and other contents.
If you want to really automate the process and scrape the data which is got through ajax or javascript, you can try selenium. Even though it is not developed for that purpose, it serves your needs.
I don't have an answer to your specific question, but I thought I'd point to Ryan Bates' Railscast episode on screen scraping with ruby: http://railscasts.com/episodes/173-screen-scraping-with-scrapi
He uses a library called scrAPI instead of ScRUBYt, since he couldn't get ScRUBYt working. scrAPI seems to be a bit easier maybe?
I hope this helps somewhat, good luck with your assignment! :)
-John
There is a good script posted at the google group. It seems to extract address, etc. You may want to look at the code for the script page.txt.