Wednesday, 17 March 2010
Google Webmaster Tools for Microsoft Office Live
How can you add your site to Google search engine?
Microsoft Office Live is a generous hosting free tool from Microsoft to put your domain there. It has its own editor for the page that you like to create based on their standards, all "aspx" files. It also includes its own tracking system and reports for analysing traffic on your site. If you want to add pages of your own creation, then you should upload them to Documents gallery of Microsoft Office Live and then you add a "/Documents/yourpage.html" to the URL of your site, like this, "http://www.yoursite.com/Documents/yourpage.html" I use the "aspx" for my pages hence my pages are like this, "/Documents/mypage.aspx" Some people, like me, are keen to use Google Webmaster Tools for further information on their sites. To that end, first your site should be verified by Google Tools. For using Google Webmasters Tools and verification you need to have an account in Google. That is possible by a hotmail account or a googlemail account. One can use either of them. You automatically have that account if you are using the Google Blogger (with an hotmail account it is possible to create a Google Blogger). Once you had that account then you are able to sign into the Google Webmaster Tools (GWT). After logging into the GWT please click on "Add a site" button and give your website URL in the text field that appears after clicking. Google Webmaster Tools goes to a next step for "verification" of your website. At that stage, it gives this instruction: "Copy the meta tag below, and paste it into your site's home page. It should go in the <head> section, before the first <body> section." You need to do that for your home page. There is a way that you can put that meta tag, something like this, <meta name="google-site-verification" content="hfxUPa-C1mRTlTS0f_Z45dFZ_8bCUBjHtNy5Z1upn3A" /> in a Microsoft Office Live hosted "home page." (That long string for your site would be different from mine.) When you are editing your website on Microsoft Office Live, it opens an editor as "Microsoft Office Live Small Business Web Design Tool." In that editor, there are two tabs: "Page Editor" and "Site Designer." Select "Page Editor" tab. In the far right, at the top, there is an "Advanced" pane. Still, in the right side of that pane, there are three icons stacked at the top of each other. Click the middle one. When you hover on it, its tool tip shows "Change page title, Navigation order, Meta tags." If you click here, it opens your Home page "Properties" dialogue. Upon opening the "Properties Dialogue" it shows two tabs, "Page Settings" and "Search Engine Optimization." Choose the second one. In the "Search Engine Optimization," there are two panes, two text areas at the top of each other. Paste the Google meta tag into the top one, that is, in the "Keyword metatags." You should change your meta tag to html readable metatags, like this %20 %3Cmeta name=%22google-site-verification%22 content=%22hfxUPa-C1mRTlTS0f_Z45dFZ_8bCUBjHtNy5Z1upn3A%22%3E%20 This is called URL encoding. You cannot use normal HTML tags. You have to use ASCII codes with a "%" sign before them. For example a blank space is shown by "%20" Read more here about them. Then click on "Apply" button and then "OK" As you noticed this is the "Properties" dialogue of your home page, therefore you can bring it, alternatively, by going to Microsoft Office Live Small Business Web Site Page Manager page and in front of your Home page click on "properties" link. If you are designing a page, on your own HTML codes, simply put that metatag after <HEAD> of your HTML that you are uploading to the documents gallery, much easier. Anyway, after these operations, go back to Google Webmaster Tools and click on "Verify" When verification becomes complete click on the name of your site, it takes you to your dashboard. Here, one can find different search items. At the bottom right of the dashboard you can find the place that you can submit your sitemap. It is necessary that the site map to be written on a note pad and saved as a UTF-8 file with extension ".xml" as "Sitemap.xml" and then to be uploaded to "Documents Gallery" of Microsoft Office Live of yours. It has such a structure:
<?xml version="1.0" encoding="UTF-8"?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
<url>
<loc>http://messiahpsychoanalyst.org/</loc>
<lastmod>2010-03-15</lastmod>
<changefreq>Monthly</changefreq>
<priority>0.8</priority>
</url>
<url>
<loc>http://messiahpsychoanalyst.org/Documents/ceramics.aspx</loc>
<lastmod>2010-03-15</lastmod>
<changefreq>Weekly</changefreq>
<priority>0.8</priority>
</url>
</urlset >
My website is http://www.messiahpsychoanalyst.org/. Yours could by "http://www.your&site.com/" (hosted on Microsoft Office Live) But notice that in the sitemap.xml I have removed "www" It is due to the fact that when you click on "Submit sitemap" in the Google Webmaster Tools the place holder for the URL of your site has got the URL by default as http://your&site.com/ and there is a text field in front of it where one needs to type "Documents/Sitemap.xml" and then follows the instructions after. If you do not remove "www" from "Sitemap.xml" an inconsistency will happens with errors. In the above Sitemap.xml I have put only two pages. You can repeat it for as many pages as you have. Please note the format of date items. That should be, yyyy-mm-dd. Other formats create error for Google crawlers. When you are creating pages, it is good to paste the meta tag given by the Google Webmaster Tools inside the "Head" part of each page.
Microsoft Office Live is a generous hosting free tool from Microsoft to put your domain there. It has its own editor for the page that you like to create based on their standards, all "aspx" files. It also includes its own tracking system and reports for analysing traffic on your site. If you want to add pages of your own creation, then you should upload them to Documents gallery of Microsoft Office Live and then you add a "/Documents/yourpage.html" to the URL of your site, like this, "http://www.yoursite.com/Documents/yourpage.html" I use the "aspx" for my pages hence my pages are like this, "/Documents/mypage.aspx" Some people, like me, are keen to use Google Webmaster Tools for further information on their sites. To that end, first your site should be verified by Google Tools. For using Google Webmasters Tools and verification you need to have an account in Google. That is possible by a hotmail account or a googlemail account. One can use either of them. You automatically have that account if you are using the Google Blogger (with an hotmail account it is possible to create a Google Blogger). Once you had that account then you are able to sign into the Google Webmaster Tools (GWT). After logging into the GWT please click on "Add a site" button and give your website URL in the text field that appears after clicking. Google Webmaster Tools goes to a next step for "verification" of your website. At that stage, it gives this instruction: "Copy the meta tag below, and paste it into your site's home page. It should go in the <head> section, before the first <body> section." You need to do that for your home page. There is a way that you can put that meta tag, something like this, <meta name="google-site-verification" content="hfxUPa-C1mRTlTS0f_Z45dFZ_8bCUBjHtNy5Z1upn3A" /> in a Microsoft Office Live hosted "home page." (That long string for your site would be different from mine.) When you are editing your website on Microsoft Office Live, it opens an editor as "Microsoft Office Live Small Business Web Design Tool." In that editor, there are two tabs: "Page Editor" and "Site Designer." Select "Page Editor" tab. In the far right, at the top, there is an "Advanced" pane. Still, in the right side of that pane, there are three icons stacked at the top of each other. Click the middle one. When you hover on it, its tool tip shows "Change page title, Navigation order, Meta tags." If you click here, it opens your Home page "Properties" dialogue. Upon opening the "Properties Dialogue" it shows two tabs, "Page Settings" and "Search Engine Optimization." Choose the second one. In the "Search Engine Optimization," there are two panes, two text areas at the top of each other. Paste the Google meta tag into the top one, that is, in the "Keyword metatags." You should change your meta tag to html readable metatags, like this %20 %3Cmeta name=%22google-site-verification%22 content=%22hfxUPa-C1mRTlTS0f_Z45dFZ_8bCUBjHtNy5Z1upn3A%22%3E%20 This is called URL encoding. You cannot use normal HTML tags. You have to use ASCII codes with a "%" sign before them. For example a blank space is shown by "%20" Read more here about them. Then click on "Apply" button and then "OK" As you noticed this is the "Properties" dialogue of your home page, therefore you can bring it, alternatively, by going to Microsoft Office Live Small Business Web Site Page Manager page and in front of your Home page click on "properties" link. If you are designing a page, on your own HTML codes, simply put that metatag after <HEAD> of your HTML that you are uploading to the documents gallery, much easier. Anyway, after these operations, go back to Google Webmaster Tools and click on "Verify" When verification becomes complete click on the name of your site, it takes you to your dashboard. Here, one can find different search items. At the bottom right of the dashboard you can find the place that you can submit your sitemap. It is necessary that the site map to be written on a note pad and saved as a UTF-8 file with extension ".xml" as "Sitemap.xml" and then to be uploaded to "Documents Gallery" of Microsoft Office Live of yours. It has such a structure:
<?xml version="1.0" encoding="UTF-8"?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
<url>
<loc>http://messiahpsychoanalyst.org/</loc>
<lastmod>2010-03-15</lastmod>
<changefreq>Monthly</changefreq>
<priority>0.8</priority>
</url>
<url>
<loc>http://messiahpsychoanalyst.org/Documents/ceramics.aspx</loc>
<lastmod>2010-03-15</lastmod>
<changefreq>Weekly</changefreq>
<priority>0.8</priority>
</url>
</urlset >
My website is http://www.messiahpsychoanalyst.org/. Yours could by "http://www.your&site.com/" (hosted on Microsoft Office Live) But notice that in the sitemap.xml I have removed "www" It is due to the fact that when you click on "Submit sitemap" in the Google Webmaster Tools the place holder for the URL of your site has got the URL by default as http://your&site.com/ and there is a text field in front of it where one needs to type "Documents/Sitemap.xml" and then follows the instructions after. If you do not remove "www" from "Sitemap.xml" an inconsistency will happens with errors. In the above Sitemap.xml I have put only two pages. You can repeat it for as many pages as you have. Please note the format of date items. That should be, yyyy-mm-dd. Other formats create error for Google crawlers. When you are creating pages, it is good to paste the meta tag given by the Google Webmaster Tools inside the "Head" part of each page.
Sunday, 14 February 2010
Removing the Virus Called "Security Tool" Malware
This is a very annoying malware using the deceptive name "Security Tool" and installs itself forcefully and without informed permission of yours, into your computer on an inadvertent "click" that you might do somewhere in the Internet. This happens for many average users surfing around the free music sites, vulnerable to "ClickJacking". It creates a shield icon that looks like the Windows(R) protection shield but it is not possible to "right-click" it. The malware hijacks the desktop and prevents the Task Manager to open. As much as you select it to "Continue" or "Abort" it keeps popping up preventing any work to be done on computer. It gives a list of non-existing defects with your computer to urge you to buy some fixing software product. It paralyses all the malware removal and anti-virus software that you might have in your computer. There are solutions for removing it from Windows XP on the Internet. None of them mention anything about removing it from a Windows 7. If your Windows 7 is infected with this malware you should restart your Windows 7 in the "Safe Mode" or "Safe Mode with Networking" by pressing "F8" button immediately after BIOS loading finished. By pressing "F8" the booting menu of Windows appears waiting for you to select your desired "Safe Mode." After booting in the safe mode, the malware does not work and you can do tasks around. Open Windows 7 explorer. Go to toolbar option "Tool" and select "Folder Options" from its menu. in the dialogue window click on "View" tab. Down under "Advanced settings" there is a "File and Folders" setting and then a "Hidden files and folders" with two options shown as "radio buttons." Select "Show hidden files, folders and drives." Now click on "Apply" button at the bottom of the "dialogue window" and then on "OK" Now double click on your operating system hard disk (normally C:\ drive). In that you can find a "Program Data" folder. Open that folder and you can find a folder with a number as its name, such as "24849027" Open this folder and find an EXE file with the same name as "24849027.exe" Now delete this file. Then go back and delete its folder too. Then go at other places such as desktop and "Start" menu and find the carcasses of its shortcuts and right-click on them and remove the short cut. Shortcuts lose their original icon after delete of EXE file. Now restart the Windows 7 in "normal mode." That annoying malware has been disappeared. Please note that you do not need to download and install any additional software for this task.
Saturday, 19 December 2009
Three Dimensions: Where did they come from?
Though it makes me far from the objective of these blogs, as one reader has contacted me regarding the previous comment and has asked me this question I add this short comment here. How man understood that he is living in a three dimension space? It is from builders experience since the ancient time. To build a wall straight we use a piece of heavy plumb and string. To make a floor straight what do we need? A flat floor means for us that water do not flow on any direction on it. It is enough to check only two directions on the floor among infinite directions. It is easier to take those two direction perpendicular, in right angle, to each other. Builders do it by fixing two straightened perpendicular string drawn on two sides of a floor. With these three string we can build a room with straight walls and flat floor. We never need more than that and these tree strings in a corner create a 3-dimensional Cartesian coordinates system for the room, for the space that we live in. Further if you make each of these floor strings in right angle to the string of plumb, then the water will not flow in any direction on the floor. Floor will be "leveled," as it is said. If the floor is small compared with the radius of earth it is consistent with water flow. This floor made by perpendicular to the line of the plumb is actually a surface tangent to the sphere of the earth at the point where the tip of the plumb touches the earth and if it becomes larger in lengths then the water will flow to the tip of the plumb from all directions. It is equivalent of a pendulum, indeed. In imagination, one can use it in ocean for converting very tall water waves, to re-wind up the damping pendulum every now and then, to electrical energy. Locally, it is said, surface of the earth is a collection of these small flat surfaces. Intrinsic geometry of the earth surface can be studied with these two dimensions. This floor also is called to be a chart at the touching point of the plumb. Earth surface is a collection or an atlas of these local charts many of them folded together in the atlas. Hence the earth surface is a manifold.
-------------------------------
(c) Copyrighted materials, Copy rights, Peter Jones December 2009.
-------------------------------
(c) Copyrighted materials, Copy rights, Peter Jones December 2009.
Monday, 14 December 2009
A Decimal Calendar
I have created a decimal calendar. One might ask what do I mean by a decimal calendar. Making things decimal started from the time of French Revolution. They wanted to change everything to a sacrilegious, scientific and inspired by the enlightenment movement in modern philosophy. They knew the most natural and easy type of division and multiplication can be done if all numbers be in radix or base of ten, using only ten symbol for counting, based on the fingers on a human hands. Before that the roman scales and measures with differences were used in the world. Things such as pound or yard or mile. First they decided to make a right angle from ninety degree to hundred units and they called it hundred grads. So round a circle becomes four hundred grads. And any circle round the earth, including the equator circle, will also be four hundred grads. Then they divided a quarter of that great circle of equator in fractions of ten until it became near the size of a yard. To do that one should divide that right angle length into ten million. They created a rod of platinum in that size and called it one meter. They created units of decimal fractions of one meter and units of decimal multiplication of one meter. They made a cube of water with length at each edge equal to one tenth of meter (one decimeter) and called it one kilogram and made a platinum block of that weight as the new standard. One gram is a cube of water one centimeter in each edge.
Division of a circle into 360 degrees is due to Babylonians. They noticed that the sun rotating round the earth in three hundred and sixty days and night to go back to its last year position in heaven at the dawn. They recognized it was more than that a bit, but 360 had all the divisors from one to ten except seven, and it was good enough. They could not find a number that can add seven to other divisors and be near to 365 solar days. That brought the idea from ancient time that seven should be a sacred number exempted from being a divisor and an exception to that celestial rule. Babylonian further divided each degree of 360 degree into sixty "minutes" and each minute into sixty "seconds" for further precision of their calculations. They had to do calculations in cumbersome 60 radix. To reward the resilience of seven they created "Week" which is "Seven" solar days and seven got its own and unique position of honour among the "ten" numbers.
French revolution could not change number of solar days to 400 days and make the calendar decimal. They wanted to make things more precise not less. Hence, they left it as before. Day is divided into twenty four hours in accordance to idea of Babylonian such that each quarter of day be six hours and each hour be sixty minutes and each minutes be sixty seconds.
As astronomers were dealing with solar 365 days they were reluctant to abandon 360 degrees and adopt the French revolution 400 grads and its decimal fractions. Changing astronomical and naval tables and charts of the world at that time was a formidable task if not impossible. Geometers and trigonometers who were actually workers of astronomers also followed the old Babylonian style of 360 degrees for the circle. Most of the times they even do not need that and they use an intrinsic measure of angles called "radian." Still, all the calculators and computer programs are able to work with any of these three units of angles, though rarely one might find "grad" of any usage.
In my decimal calendar I have not divided the year into 400. I have divided it into twenty months. Each season has five months and year is consistent with real solar day from spring equinox to next spring equinox. Further I have divided each solar day into 20 hours instead of twenty four hours. Then I have divided each hour into 100 minutes and each minuets into 100 seconds. Hence my minutes and seconds are shorter and more consistent with modern usage of more precision in time. In this way each solar day is equal to 200000 seconds of my proposed clock instead of difficult to remember, 86400 seconds of conventional clock. You see in sports, for instance, that many fractions will not need to be used anymore in this way. I also created a five days "Week" that consolidate the sacred day of Christians -Sunday-, Judaism -Saturday-, and Moslems -Friday- in a single common day.
You can download a decimal clock of mine from my Google Code page, or click here. There is also a software for conversion of Gregorian to Decimal calendar for dates after spring of 2000, at the same place, or click here. You can see the length of each months and more details of the calendar by clicking here.
Division of a circle into 360 degrees is due to Babylonians. They noticed that the sun rotating round the earth in three hundred and sixty days and night to go back to its last year position in heaven at the dawn. They recognized it was more than that a bit, but 360 had all the divisors from one to ten except seven, and it was good enough. They could not find a number that can add seven to other divisors and be near to 365 solar days. That brought the idea from ancient time that seven should be a sacred number exempted from being a divisor and an exception to that celestial rule. Babylonian further divided each degree of 360 degree into sixty "minutes" and each minute into sixty "seconds" for further precision of their calculations. They had to do calculations in cumbersome 60 radix. To reward the resilience of seven they created "Week" which is "Seven" solar days and seven got its own and unique position of honour among the "ten" numbers.
French revolution could not change number of solar days to 400 days and make the calendar decimal. They wanted to make things more precise not less. Hence, they left it as before. Day is divided into twenty four hours in accordance to idea of Babylonian such that each quarter of day be six hours and each hour be sixty minutes and each minutes be sixty seconds.
As astronomers were dealing with solar 365 days they were reluctant to abandon 360 degrees and adopt the French revolution 400 grads and its decimal fractions. Changing astronomical and naval tables and charts of the world at that time was a formidable task if not impossible. Geometers and trigonometers who were actually workers of astronomers also followed the old Babylonian style of 360 degrees for the circle. Most of the times they even do not need that and they use an intrinsic measure of angles called "radian." Still, all the calculators and computer programs are able to work with any of these three units of angles, though rarely one might find "grad" of any usage.
In my decimal calendar I have not divided the year into 400. I have divided it into twenty months. Each season has five months and year is consistent with real solar day from spring equinox to next spring equinox. Further I have divided each solar day into 20 hours instead of twenty four hours. Then I have divided each hour into 100 minutes and each minuets into 100 seconds. Hence my minutes and seconds are shorter and more consistent with modern usage of more precision in time. In this way each solar day is equal to 200000 seconds of my proposed clock instead of difficult to remember, 86400 seconds of conventional clock. You see in sports, for instance, that many fractions will not need to be used anymore in this way. I also created a five days "Week" that consolidate the sacred day of Christians -Sunday-, Judaism -Saturday-, and Moslems -Friday- in a single common day.
You can download a decimal clock of mine from my Google Code page, or click here. There is also a software for conversion of Gregorian to Decimal calendar for dates after spring of 2000, at the same place, or click here. You can see the length of each months and more details of the calendar by clicking here.
Tuesday, 1 December 2009
Tuning Google Analytic for Microsoft Office Live
I found it more convenient to create an xsl style page rather than using the code lines offered on the dialogue of Office Live "Custom footer." In this way if I need some modification I modify the xsl file on my own computer and then I delete the old xsl file in the Office Live Document Gallery and I upload the new modified file in its place. I do not need to do anything on the web design. The new style automatically comes on-line. It is a good side that you do things on your own computer and then you upload them. Some people say that why the Microsoft Office Live has not its own editor and you have to delete the document and upload it again. Well, in this way I have the choice of using my own favourite editor rather than an imposed editor. I have seen when the Web Hosting Sites offer their own editors. Frequently the compiled result is not what you expect and what you intend and you have to tune things again and again. The HTML does not follow concisely the visual, for instance. You need to do much hacking. So it is better to have them in your computer with your own editor. Perhaps on the good old "notepad." For example, on the advice of Google Analytic I changed the previous style page to following
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
<xsl:output method="text" omit-xml-declaration="yes"/>
<xsl:template match="/">
<![CDATA[
<script type="text/javascript">
var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
</script>
<script type="text/javascript">
try {
var pageTracker = _gat._getTracker("UA-XXXXXXXX-X");
pageTracker._setDomainName(".messiahpsychoanalyst.org");
pageTracker._trackPageview();
} catch(err) {}
</script>
]]>
</xsl:template>
</xsl:stylesheet>
The modified part is in bolface letters. I used my own website domain ".messiahpsychoanalyst.org" by dropping "www" from the web address. I did that such that Google Analytic can track the inner pages of my website, too.
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
<xsl:output method="text" omit-xml-declaration="yes"/>
<xsl:template match="/">
<![CDATA[
<script type="text/javascript">
var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
</script>
<script type="text/javascript">
try {
var pageTracker = _gat._getTracker("UA-XXXXXXXX-X");
pageTracker._setDomainName(".messiahpsychoanalyst.org");
pageTracker._trackPageview();
} catch(err) {}
</script>
]]>
</xsl:template>
</xsl:stylesheet>
The modified part is in bolface letters. I used my own website domain ".messiahpsychoanalyst.org" by dropping "www" from the web address. I did that such that Google Analytic can track the inner pages of my website, too.
Thursday, 26 November 2009
Google Analytic for Microsoft Office Live
I wondered how I can put tracking code of Google Analytic on a website designed on Microsoft Small Business Live. I found that I needed an xsl style file to embed inside my home page. I copied the tracking code offered by the Google Analytic. It is like this; it is java script:
<script type="text/javascript">
var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
</script>
<script type="text/javascript">
try {
var pageTracker = _gat._getTracker("UA-XXXXXXXX-X");
pageTracker._trackPageview();
} catch(err) {}
</script>
In the statement "UA-XXXXXXXX-X" the letter "X" stands for the numbers given by the Google Analytic profile for the desired website. Then I put this piece of code inside an xsl document like this
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
<xsl:output method="text" omit-xml-declaration="yes"/>
<xsl:template match="/">
<![CDATA[
<script type="text/javascript">
var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
</script>
<script type="text/javascript">
try {
var pageTracker = _gat._getTracker("UA-XXXXXXXX-X");
pageTracker._trackPageview();
} catch(err) {}
</script>
]]>
</xsl:template>
</xsl:stylesheet>
The Google Analytic codes are shown as boldface fonts inside the xls template. I put this in a notepad and saved it as, say, aStyle.xsl. The extension .xsl should not be forgotten and the file format is in UTF_8. Then I upload it to my "Documents Gallery" at my Microsoft Office Live website designing console.
Now I go to my "Page Manager" page in my Microsoft Office Live console and click on "Edit" for my home page. When the "Home Page" opens in "Edit" mode I notice two tabs. I select "Page Editor" tab. There, at the top from the "Insert" pane, I click on the second icon with a drop down menu; it is the "Insert Module" menu. I move the highlight down until I get to the "Custom footer." Upon selecting this, a dialogue opens. There is an option for "Link to an xslt file" and a "Select file" button. If you select this option then it takes you directly to the "Documents gallery" where you already had uploaded your file. You can point to the mentioned "aStyle.xsl" file. Looking at the zone that you have selected for the tracking "footer," then you can see a dashed border area. That does not show anything in your site. It is, merely, the Google tracking snippet resided there. Now go to your Google Analytic and follow their instructions. It immediately informs you of being successful in installing the tracker.
<script type="text/javascript">
var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
</script>
<script type="text/javascript">
try {
var pageTracker = _gat._getTracker("UA-XXXXXXXX-X");
pageTracker._trackPageview();
} catch(err) {}
</script>
In the statement "UA-XXXXXXXX-X" the letter "X" stands for the numbers given by the Google Analytic profile for the desired website. Then I put this piece of code inside an xsl document like this
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
<xsl:output method="text" omit-xml-declaration="yes"/>
<xsl:template match="/">
<![CDATA[
<script type="text/javascript">
var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
</script>
<script type="text/javascript">
try {
var pageTracker = _gat._getTracker("UA-XXXXXXXX-X");
pageTracker._trackPageview();
} catch(err) {}
</script>
]]>
</xsl:template>
</xsl:stylesheet>
The Google Analytic codes are shown as boldface fonts inside the xls template. I put this in a notepad and saved it as, say, aStyle.xsl. The extension .xsl should not be forgotten and the file format is in UTF_8. Then I upload it to my "Documents Gallery" at my Microsoft Office Live website designing console.
Now I go to my "Page Manager" page in my Microsoft Office Live console and click on "Edit" for my home page. When the "Home Page" opens in "Edit" mode I notice two tabs. I select "Page Editor" tab. There, at the top from the "Insert" pane, I click on the second icon with a drop down menu; it is the "Insert Module" menu. I move the highlight down until I get to the "Custom footer." Upon selecting this, a dialogue opens. There is an option for "Link to an xslt file" and a "Select file" button. If you select this option then it takes you directly to the "Documents gallery" where you already had uploaded your file. You can point to the mentioned "aStyle.xsl" file. Looking at the zone that you have selected for the tracking "footer," then you can see a dashed border area. That does not show anything in your site. It is, merely, the Google tracking snippet resided there. Now go to your Google Analytic and follow their instructions. It immediately informs you of being successful in installing the tracker.
Saturday, 25 July 2009
Boot Loaders
That XOSL loader with all success is not much stable and might start to oscillate between GRUB sector and XOSL sector. That is due to the fact that it is inside an extended partition at the beginning of the disk. That is less likely and less devastating if the extended partition was after primary partitions. A good observation is to go to Windows disk manager and delete the extended unstable partition and create a primary partition instead of that and formatted as NTFS. You become surprised that GRUB will disappear and in its place XOSL safely has kept its place at the beginning of hard disk and works perfectly loading any other bootable NTFS partition on the disk. You can open physical disk by a hex editor and see that affirmatively XOSL files still are there un-deleted, and un-touched. It is not at a place that through a simple reformating gets lost. XOSL is a nice small piece of software and can cosily reside at its snugging home that it has built at its installation and you cannot get rid of it that easily. What does it remind, then? This observation gets to the idea by some users that XOSL is a virus software. Well, it is not the case. But study of its source code is useful for people who are learners for developing anti-virus software against boot-sector-residenting malwares.I could sum it up for me that if I use only different flavours of Microsoft operating systems on the same machine it is wise to follow the procedures of Microsoft as they are well documented by Microsoft and if I use UNIX types only or mixed with Windows I can use GRUB. I know that Solaris of Sun Microsystem manages that automatically, if you follow their Big Admin procedure for multi-booting. Remains no place for good old XOSL.
Subscribe to:
Posts (Atom)


