Posts Tagged ‘XML’

Create Site Map and Google XML Map

Monday, July 14th, 2008

Every website needs a Sitemap big or small. Sitemap should be linked to from every page on your site. A site map will help users and search engine robots find all the important pages on your site with just two clicks. This is especially helpful if your site has a hard-to-crawl navigation menu like java script or images based navigation. For WordPress blogs I recommend downloading this free sitemap generator plugin. You can see example on my sitemap page.

Smaller sites can use second navigation bar in the footer that will act as a small mini site map. This is nothing more than all your important pages as links in the footer.

By submitting a XML Sitemap to a search engine, you are making easier for that engine’s crawlers to crawl and index pages of your site. As Google describes it in this article

“Sitemaps are particularly beneficial when users can’t reach all areas of a website through a browseable interface.”

For regular websites there are many free online xml sitemap generators, just Google it but for your WordPress blog you can use this free Google XML sitemap generator plugin as it will also create Robots.txt file which is the next Free SEO Tip.

PHP:Simple Asynchronous JavaScript and XML (AJAX) example usage of: PHP SAjax framework.

Monday, June 30th, 2008

<?php

require(”Sajax.php”);
// auth check
function login($user, $pass) {
if ($user == ‘test’
&& $pass == ‘test’) {
return “<font color=’green’>Authorization OK</font>”;
} else
return “<font color=’red’>Authorization Failed</font>”;
}
$sajax_request_type = “GET”;
sajax_init();
// $sajax_debug_mode = 1;
sajax_export(”login”);
sajax_handle_client_request();
?>
<html>
<head>
<title>Ajax login box</title>
<script>
<?
sajax_show_javascript();
?>
function do_login_cb(status) {
document.getElementById(”status”).innerHTML = status;
}
function do_login() {
// get the folder name
var user, pass;
user = document.getElementById(”username”).value;
pass = document.getElementById(”password”).value;
x_login(user, pass, do_login_cb);
}
</script>
</head>
<body>
<div id=”status”><em></em></div>
Username:
<input type=”text” name=”username” id=”username”>
Password:
<input type=”password” name=”password” id=”password”>

<input type=”button” name=”check” value=”Go!”
onclick=”do_login(); return false;”>
</body>
</html>

Microsoft’s Office Open XML now an official ISO standard

Monday, June 16th, 2008

Microsoft’s embattled Office Open XML (OOXML) document format received ISO fast-track approval today after receiving support from approximately 86 percent of the national bodies that participated in the vote. ISO approval will be broadly perceived as a sign of validation for the document format which has received widespread criticism from technical experts and standards advocacy groups.

I only wish this was an April Fools story. But, there have been some Irregularities in the Germany, Norway, and Croatia. More information over at Groklaw.