Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 1 year ago.
Improve this question
We would like to share our calendar to the public, so that interpreters and companies can add the calendar to their own personal calendar view.
We know that each calendar can be made public and has its own link, like ours:
https://calendar.google.com/calendar/ical/pt1fre4229hs8ddfd8uq0no78g%40group.calendar.google.com/private-fa9e2ac63d62d57ca70f3650ac29682b/basic.ics
However, clicking on this link does not produce anything useful.
We would like an HTML link that, when clicked, would go the the person's Google calendar view, and add this calendar to their calendar list.
Is this possible?
Create a link like this, with the Google Calendar ID that you wish to share:
https://calendar.google.com/calendar/r?cid=THE_GOOGLE_CALENDAR_ID_YOU_WISH_TO_SHARE
Can't seem to find any documentation about it, however this does exactly what the OP is requesting, which is to "add this calendar to [a user's] calendar list". So in the OP's case, this link should do the trick:
https://calendar.google.com/calendar/r?cid=pt1fre4229hs8ddfd8uq0no78g%40group.calendar.google.com
Clicking the above link (or pasting it into a web browser) on a desktop PC will open the user's Google Calendar, with prompt: "Add calendar - Freelensia Interpreter Events (Vietnam)? CANCEL / ADD" so the user just has to click "ADD" and the Calendar is now subscribed.
Where is my Google Calendar ID?
In the Google Calendar interface, locate the "My calendars" area on the left.
Hover over the calendar you need and click the vertical ellipsis (three vertical dots).
A menu will appear. Click "Settings and sharing".
In the "Integrate calendar" section of the screen, you will see your Calendar ID. It will look something like "abc123#group.calendar.google.com".
First make sure your calendar is public then do this steps:
Go to your Calendar Settings.
Note the Embed This Calendar section. You'll see some html codes for iframe like:
< iframe src="https://calendar.google.com/calendar/embed?src=classroom123456789%40group.calendar.google.com" style="border: 0" width="800" height="600" frameborder="0" scrolling="no">
Copy the link that's in src:
https://calendar.google.com/calendar/embed?src=classroom123456789%40group.calendar.google.com
That's the link you're looking for.
Related
Anyone use the <details> tag? I'm trying to create a link that takes the user to a details section and opens the previously closed details. Haven't found any solutions that work and aren't 5 years old.
<details><summary id="openThis">This is initially closed</summary>More words and stuff</details>
I'd like to create an anchor like this Open Sesame that also expands the details without the user having to click again. Any ideas welcome.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 6 years ago.
Improve this question
Is there any solution to protect google analytics from receiving fake information from Spammers ? The problem is anybody can send information by knowing tracking id.
I found the following solution, filter domain. But that's for web and how to implement for mobile app ?
https://blog.kissmetrics.com/protect-analytics-from-hacking/
Thanks
Visible Tracking ID
On a website you can right click, Show source but you can't on a mobile application. Therefore your trying ID can't be find from your clients application. Nonetheless, if your code is pushed to a public repository (Github for example) robots may find it.
Random spammers
Even if your trackingID is kept secret you'll have some bot spamming your account randomly (they try every possible tracking ID). Google added a tool to prevent this: go to Admin > View > View settings > turn on Exclude all hits from known bots and spiders. Then Google will automatically filter hits from the known fake domains.
Hostname security hack
Even with Google's automatic filter you may still see some spam. This can be fixed with what they explain in the link you provided.
In your article they create a custom dimension and use it to filter real data from spam data. You can also use this with your mobile application, the thing is, it does not need to be a host name it just need to be a string only known by you, its sort of a new secret added to your tracking ID (which should already be secret).
This works because bots can handle the try of every trackingID but they can't try every custom dimension with every possible value, it's too much work for them.
Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 9 years ago.
Improve this question
I have a blog on blogspot with url say myblog.blogspot.com. Now its getting around 30,000 page view in a month. I want to change the blog url as myblog.com.
But, I worry that the amount of traffic I have gained till now, will become nil because of new url. Google page rank and alexa rank will go to nil.
So, should I change the domain of my blog or not?
Maybe this Link will help you: How do I use a custom domain
It s a simple forward, so your rankings will not go to nil.
Your original Blogspot address will automatically forward to your new domain. That way, any existing links or bookmarks to your site will still work.
When you migrate from a sub-domain of blogspot to your own domain you must set up proper redirects. The redirects should be the permanent (301) type, not the temporary (302) variety). Permalinks should redirect directly to corresponding permalinks:
http://myblog.blogspot.com/ -> http://myblog.com/
http://myblog.blogspot.com/this-is-a-blog-post -> http://myblog.com/this-is-a-blog-post
You should also make sure you change all your internal links to make sure they don't mention your old sub-domain. If you control any external links, you should change those. You might even consider asking some webmasters to change the external links that point to your blog.
Even if you do the redirects correctly, there is a good chance that you will lose Google traffic for some time. The last time I tried a move from a sub-domain to a full domain (several years ago), I lost about 75% of my Google referrals for about 8 months. After 8 months, Google seemed to trust my new domain again and my traffic came right back.
Google has a change of address tool as part of webmaster tools. It is limited to use on "full-domains" and it won't work in your case because you are starting out on a sub-domain. Google has a help document that goes along with it which you may still find useful.
Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 10 years ago.
Improve this question
Hi I have my own URL http://www.manelsoft.com When Search by google it does not show the correct URL and google shows another URL as http://mail.dreamfordarfur.org/ but when click on this link it shows the correct address.
I added this URL to google webmaster tool few months ago and few days ago it shows an error message saying google can't accedd robots.txt on your site. Then I fixed it and added the robots.txt file. But the problem is still exists. Please anyone can help me to solve this problem?
You say that when you click on http://mail.dreamfordarfur.org/ you see the "correct" address. However, I still see mail.dreamfordarfur.org in the address bar of my browser. To me, your full site appears to be shown.
dreamfordorful.org and manelsoft.com appear to hosted on the same server:
;; ANSWER SECTION:
mail.dreamfordarfur.org. 14215 IN CNAME dreamfordarfur.org.
dreamfordarfur.org. 14215 IN A 173.237.136.37
;; ANSWER SECTION:
www.manelsoft.com. 14186 IN CNAME manelsoft.com.
manelsoft.com. 14186 IN A 173.237.136.37
dreamfordarfur.org is registered using private DNS registration, so I can't tell who owns it. It appears to be a spam site pushing weight loss drugs, so you don't want to be associated with it.
The problem is that the webserver you are using is misconfigured. Your site is either set to the default site that shows up for any unrecognized host name, or the virtual host for mail.dreamfordarfur.org is pointing to the directory that hosts your manelsoft.com site.
If you have control over your web server, you should correct its configuration.
If you don't have control over this web server and are just using a brain dead hosting company, there are still some things you could do besides asking them to fix the web server.
You should put a canonical tag in each of your pages that shows what the correct url of that page should be. For example, your home page should have the following in the <head> section:
<link rel="canonical" href="http://www.manelsoft.com/"/>
Another thing you could do is change some of your navigation to absolute links. If you change the code for your menu to this:
<ul class="menu">
<li><a class="active" href="http://www.manelsoft.com/">Home Page</a></li>
<li>Web Development</li>
<li>Desktop Apps</li>
<li>About Us</li>
<li class="last-item">Contact Us</li>
</ul>
It will direct web crawlers back to your real site every time they follow one of the main links on your page, even if they find your website at an incorrect url.
I would change your robots file to read
User-Agent: *
Allow: /
This will allow Google in the next time it visits your site. This may take a few days to happen though.
Closed. This question is not about programming or software development. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 6 months ago.
Improve this question
I have a problem concerning Google cache my old content URLs while I created a new website
I have an old website where the old webpages are dead now and created a new website with new webpages.
Because I have old content so when people search on Google for old content the old URLs appear in the search results (as it was cached) instead of the new ones which should be appearing (but not indexed yet), this is because the old content is already indexed by Google and the new ones are not indexed yet.
While when people search of new content the new URLs appear. So for the new content there is no problem, but the problem I have is with the old content.
For that reason above, now I created a new pages with the old URL names to redirect to the new page with the new URL when people search for old content.
My question is what I did to solve this will help the old URLs to disappear from Google cached pages and start to index the OLD content with new URLs instead or should I keep with page not found?
Here's an example of the case I have:
When I search for old content this URL appear in search results --
www.example.com/Sectionnewsdetail.aspx?id=10132
which is deleted and land on page not found
So I created a webpage with the old name
Sectionnewsdetail.aspx to redirect to the new content page --
http://www.example.com/Content/SectionNews.aspx?NewsID=13855
whenever any one click on the old URL on Google my solution redirects him to the new page
So which case will help Google cache forget the old URLs and index the new URLs.
Keeping page not found or the solution I did as explained above?
Try submitting your site again. But It could still take a week or two.
The easiest way could be adding the cross-domain rel="canonical" link element in your old website. Google Tutorial
There are situations where it's not easily possible to set up
redirects. This could be the case when you need to move your website
from a server that does not feature server-side redirects. In a
situation like this, you can use the rel="canonical" link element
across domains to specify the exact URL of whichever domain is
preferred for indexing. While the rel="canonical" link element is seen
as a hint and not an absolute directive, we do try to follow it where
possible.