<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:blogger='http://schemas.google.com/blogger/2008' xmlns:georss='http://www.georss.org/georss' xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-1961366004719843799</id><updated>2024-09-01T23:23:28.041+03:00</updated><category term="browsers"/><category term="firefox 2"/><category term="ie7"/><category term="mobile devices"/><category term="mobile phones"/><category term="search engine"/><category term="search plugin"/><category term="usefull website feature"/><category term="wap"/><category term="wml"/><category term="xhtml mp"/><title type='text'>Day of man who creat websites</title><subtitle type='html'>I work as frond end developer, my daily work is writing html, css and smarty code so I write about thinks I discovery on my way of work.</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://htmlauthor.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1961366004719843799/posts/default?redirect=false'/><link rel='alternate' type='text/html' href='http://htmlauthor.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/06013420050282472003</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>3</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-1961366004719843799.post-3245588349231858912</id><published>2007-11-28T13:27:00.000+02:00</published><updated>2007-11-28T13:28:19.828+02:00</updated><title type='text'>Technorati</title><content type='html'>&lt;a href=&quot;http://technorati.com/claim/w9uqvbr98&quot; rel=&quot;me&quot;&gt;Technorati Profile&lt;/a&gt;&lt;br /&gt;I just joined technorati ;)</content><link rel='replies' type='application/atom+xml' href='http://htmlauthor.blogspot.com/feeds/3245588349231858912/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/1961366004719843799/3245588349231858912' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1961366004719843799/posts/default/3245588349231858912'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1961366004719843799/posts/default/3245588349231858912'/><link rel='alternate' type='text/html' href='http://htmlauthor.blogspot.com/2007/11/technorati.html' title='Technorati'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/06013420050282472003</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1961366004719843799.post-5868953333483026965</id><published>2007-11-24T17:42:00.000+02:00</published><updated>2007-11-24T18:42:39.970+02:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="browsers"/><category scheme="http://www.blogger.com/atom/ns#" term="mobile devices"/><category scheme="http://www.blogger.com/atom/ns#" term="mobile phones"/><category scheme="http://www.blogger.com/atom/ns#" term="wap"/><category scheme="http://www.blogger.com/atom/ns#" term="wml"/><category scheme="http://www.blogger.com/atom/ns#" term="xhtml mp"/><title type='text'>Your website on mobile phone DIY</title><content type='html'>Hi,&lt;br /&gt;today I decided to share my experience of creating website version for mobile devices such as mobile phones.&lt;br /&gt;As you probably understand mobile devices are quite limited in screen size and keyboard, so you as creator have to do things to help your visitors on the go.&lt;br /&gt;There is two main languages designed for mobile phones:&lt;br /&gt;1. Wireless Markup Language which stands as WML and is older (and simpler) format&lt;br /&gt;2. XHTML MP is more modern and more similar to &quot;normal&quot; xHTML just restricted for mobile devices. MP stands for Mobile Profile so this is HTML for mobile phones.&lt;br /&gt;Both of them uses standard HTTP protocol and server such as Apache. WML was designed in times then mobile data transfare was very unreliable and slow, so for that reason WML content was send through getaway device which is between phone and server and this protocol is called WAP (wireless application protocol).&lt;br /&gt;Nowadays new phones support both protocols. So if you need to deliver your content (whatever poor it will look) to most devices (old and new) use WML. Anyway if you are not crazy about supporting old phones or you just want to use color images use XHTML MP.&lt;br /&gt;For learning WML language I suggest visiting &lt;a href=&quot;http://www.w3schools.com/wap/wml_format.asp&quot;&gt;w3schools WML formatting lesson&lt;/a&gt; for learning more about XHTML MP usage visit &lt;a href=&quot;http://www.informit.com/guides/content.aspx?g=xml&amp;amp;seqNum=170&amp;amp;rl=1&quot;&gt;this referance&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-weight: bold;font-size:130%;&quot; &gt;More about cross platform (cross phone) support&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;There is one way to make your mobile website more pleasant for more visitors and it is auto filtering by their phone or device compatibilities. This mean if visitor come with old old phone which support only WML he sees WML version of your site, but if your visitor isn&#39;t that conservative and has upgraded his phone in at least last 3 years he&#39;s redirected to better looking XHTML MP version of your website.&lt;br /&gt;You can do this filtering by reading HTTP_ACCEPT headers sent  by  browser (yes mobiles use browsers too). This HTTP_ACCEPT header contains information about MIME types of information which browser support. Then you know that you can redirect them by this type. If you run php on your server you can do filtering like this:&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;    $container = $_SERVER[&#39;HTTP_ACCEPT&#39;]; //reading HTTP_ACCEPT header&lt;br /&gt;    $wml = &quot;text/vnd.wap.wml&quot;; //this is how WML Mime type looks like&lt;br /&gt;    $xhtml = &quot;application/xhtml+xml&quot;; //this is how normal xhtml header looks&lt;br /&gt;    $wapxml = &quot;application/vnd.wap.xhtml+xml&quot;; //added for support of some strange phones&lt;br /&gt;&lt;br /&gt;    if(strstr($container,$wml) &amp;amp;&amp;amp; strstr($container,$xhtml)) {&lt;br /&gt;        //browser (phone) supports XHTML &amp;amp; WAP let them pass&lt;br /&gt;    }elseif(strstr($container,$wml) &amp;amp;&amp;amp; strstr($container,$wapxml)){&lt;br /&gt;        //browser (phone) supports XHTML &amp;amp; WAP let them pass (support stupid phones)&lt;br /&gt;    }elseif (strstr($container,$wml)) { //if supports WAP only redirect to WML version&lt;br /&gt;        header(&quot;Location: http://wml.example.com&quot;);&lt;br /&gt;        exit();&lt;br /&gt;    }else { //all other browsers to normal version&lt;br /&gt;        header(&quot;Location: http://www.example.com&quot;);&lt;br /&gt;        exit();&lt;br /&gt;    }&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;This code should be at the very beginning of index.php  of your website version dedicated to mobile devices.  It will let mobile phones which support XHTML pass in and will redirect old phones to WML version as normal browsers to normal version of your website. &lt;a href=&quot;http://www.oreillynet.com/pub/a/wireless/2004/02/20/mobile_browsing.html&quot;&gt;More about redirecting and technical stuff about WAP protocol&lt;/a&gt;</content><link rel='replies' type='application/atom+xml' href='http://htmlauthor.blogspot.com/feeds/5868953333483026965/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/1961366004719843799/5868953333483026965' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1961366004719843799/posts/default/5868953333483026965'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1961366004719843799/posts/default/5868953333483026965'/><link rel='alternate' type='text/html' href='http://htmlauthor.blogspot.com/2007/11/your-website-on-mobile-phone-diy.html' title='Your website on mobile phone DIY'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/06013420050282472003</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1961366004719843799.post-6335946638119408282</id><published>2007-11-21T20:14:00.000+02:00</published><updated>2007-11-22T10:07:10.508+02:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="firefox 2"/><category scheme="http://www.blogger.com/atom/ns#" term="ie7"/><category scheme="http://www.blogger.com/atom/ns#" term="search engine"/><category scheme="http://www.blogger.com/atom/ns#" term="search plugin"/><category scheme="http://www.blogger.com/atom/ns#" term="usefull website feature"/><title type='text'>open search - search from modern browser panel</title><content type='html'>So you are working on Internet shop like me? And you want to improve it as much as you can?:) OK I am doing the same, because I like my work.&lt;br /&gt;&lt;br /&gt;Ok you probably use new and modern browser like Firefox 2 or Internet Explorer 7, and you already noticed and get used to use integrated search field (usually in upper right corner of your window). You probably have Google, Yahoo, eBay and wikipedia in it or more of them for different needs. So if you do something from last two sentences you should noticed thats very nice feature (probably as nice as tabbed browsing). You can create search engine for you own website and add it to the list of engines. It&#39;s incredibly simple   by using &quot;&lt;a href=&quot;http://www.opensearch.org/Home&quot;&gt;openSearch&lt;/a&gt;&quot; format.&lt;br /&gt;&lt;br /&gt;One way of making it is to go to your firefox system catalog C:\Program Files\Mozilla Firefox\searchplugins (in my windows system) here you will see your already installed search engines. Open one of them as XML file (it actually is not more then it) and look at what you see. It looks something like this:&lt;br /&gt;&lt;br /&gt;&lt;pre&gt;&amp;lt;OpenSearchDescription xmlns=&quot;http://a9.com/-/spec/opensearch/1.1/&quot;&lt;br /&gt;                       xmlns:moz=&quot;http://www.mozilla.org/2006/browser/search/&quot;&amp;gt;&lt;br /&gt;&amp;lt;ShortName&amp;gt;&lt;b&gt;engineName&lt;/b&gt;&amp;lt;/ShortName&amp;gt;&lt;br /&gt;&amp;lt;Description&amp;gt;&lt;b&gt;engineDescription&lt;/b&gt;&amp;lt;/Description&amp;gt;&lt;br /&gt;&amp;lt;InputEncoding&amp;gt;&lt;b&gt;inputEncoding&lt;/b&gt;&amp;lt;/InputEncoding&amp;gt;&lt;br /&gt;&amp;lt;Image width=&quot;16&quot; height=&quot;16&quot;&amp;gt;data:image/x-icon;base64,&lt;b&gt;imageData&lt;/b&gt;&amp;lt;/Image&amp;gt;&lt;br /&gt;&lt;br /&gt;&amp;lt;Url type=&quot;text/html&quot; method=&quot;&lt;b&gt;method&lt;/b&gt;&quot; template=&quot;&lt;b&gt;searchURL&lt;/b&gt;&quot;&amp;gt;&lt;br /&gt;  &amp;lt;Param name=&quot;&lt;b&gt;paramName1&lt;/b&gt;&quot; value=&quot;&lt;b&gt;paramValue1&lt;/b&gt;&quot;/&amp;gt;&lt;br /&gt;  ...&lt;br /&gt;  &amp;lt;Param name=&quot;&lt;b&gt;paramNameN&lt;/b&gt;&quot; value=&quot;&lt;b&gt;paramValueN&lt;/b&gt;&quot;/&amp;gt;&lt;br /&gt;&lt;br /&gt;&amp;lt;/Url&amp;gt;&lt;br /&gt;&amp;lt;Url type=&quot;application/x-suggestions+json&quot; template=&quot;&lt;b&gt;suggestionURL&lt;/b&gt;&quot;/&amp;gt;&lt;br /&gt;&amp;lt;moz:SearchForm&amp;gt;&lt;b&gt;searchFormURL&lt;/b&gt;&amp;lt;/moz:SearchForm&amp;gt;&lt;br /&gt;&amp;lt;/OpenSearchDescription&amp;gt;&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;I think it pretty  self explaining, but its probably because I&#39;ve already made one for my company shop :)&lt;br /&gt;I will skip explanation of &lt;span style=&quot;font-weight: bold;&quot;&gt;ShortName&lt;/span&gt; and &lt;span style=&quot;font-weight: bold;&quot;&gt;Description&lt;/span&gt; it&#39;s easy to understand.&lt;br /&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;InputEncoding &lt;/span&gt;is encoding used by your website, if you use UTF-8, it will be UTF-8&lt;br /&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;Image &lt;/span&gt;is your website icon encoded in  Base-64 (one of first tools for encoding base64 I found: http://www.motobit.com/util/base64-decoder-encoder.asp) I personally used PHP integrated function for that.&lt;br /&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;method&lt;/span&gt; is method used in your website search form (GET or POST) GET preferred, because it&#39;s the only one which works in IE7 and we love cross browser compatibility, don&#39;t we?&lt;br /&gt;&lt;b&gt;searchURL &lt;/b&gt;is address for search request in your website insert {searchTerms} variable in your URL where needed&lt;br /&gt;you can set more parameters by &lt;span style=&quot;font-weight: bold;&quot;&gt;ParamName1&lt;/span&gt; and &lt;span style=&quot;font-weight: bold;&quot;&gt;ParamValue1&lt;/span&gt; which will be send then user hit Enter.&lt;br /&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;SearchFormUrl &lt;/span&gt;should be your website address...&lt;br /&gt;So I think our search engine engine work now, you can try it by saving it to searchengines directory and restarting Firefox. You can test it and fix any bugs you found, if you still face same problems &lt;a href=&quot;http://developer.mozilla.org/en/docs/Creating_OpenSearch_plugins_for_Firefox&quot;&gt;here you will find more help&lt;br /&gt;&lt;br /&gt;&lt;/a&gt;&lt;span style=&quot;font-size:130%;&quot;&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;Now then you have your website with new feature you can make it easier  to discover.&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;If you visit www.php.net you will notice autodiscovery feature working:&lt;br /&gt;&lt;a onblur=&quot;try {parent.deselectBloggerImageGracefully();} catch(e) {}&quot; href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjbgME4bUgfZULa_4mpGa2yHTvnTIPmGQRDcmJngX_0GrmACohpoIPPBlidy5lkFHk9jr2mdfZ7_g37QF_nMxztMpmx8xunKakyol_jJmOcfXk5yFNiBcqyFeBbZ5dS-fbIcoRhgrvRikY/s1600-h/autodiscover-FF-blue.gif&quot;&gt;&lt;img style=&quot;margin: 10px; cursor: pointer;&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjbgME4bUgfZULa_4mpGa2yHTvnTIPmGQRDcmJngX_0GrmACohpoIPPBlidy5lkFHk9jr2mdfZ7_g37QF_nMxztMpmx8xunKakyol_jJmOcfXk5yFNiBcqyFeBbZ5dS-fbIcoRhgrvRikY/s320/autodiscover-FF-blue.gif&quot; alt=&quot;&quot; id=&quot;BLOGGER_PHOTO_ID_5135372515458314978&quot; border=&quot;0&quot; /&gt;&lt;/a&gt;&lt;a onblur=&quot;try {parent.deselectBloggerImageGracefully();} catch(e) {}&quot; href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhbUGMPjwnmm7caQTynhnrPlm8o9IReV8HsUGDcEAeFhU2tSuKCrbx3-FMzhJDT9RBX217RpYXAeUhESA0uWOEKab7tll7yjVBwA2Ew7oymv30y0LQwDe3KOjIxHXGlVMQuEUOoSzsycGQ/s1600-h/autodiscover-IE-orange.gif&quot;&gt;&lt;img style=&quot;margin: 10px; cursor: pointer;&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhbUGMPjwnmm7caQTynhnrPlm8o9IReV8HsUGDcEAeFhU2tSuKCrbx3-FMzhJDT9RBX217RpYXAeUhESA0uWOEKab7tll7yjVBwA2Ew7oymv30y0LQwDe3KOjIxHXGlVMQuEUOoSzsycGQ/s320/autodiscover-IE-orange.gif&quot; alt=&quot;&quot; id=&quot;BLOGGER_PHOTO_ID_5135373511890727666&quot; border=&quot;0&quot; /&gt;&lt;/a&gt;&lt;br /&gt;the blue mark on FF and orange on IE7 means website you are visiting have search engine which can be installed on your browser. This is made quite simple - you just need to add one line in head of your website:&lt;br /&gt;&amp;lt;link rel=&quot;search&quot; type=&quot;application/opensearchdescription+xml&quot; title=&quot;searchTitle&quot; href=&quot;pluginURL&quot;&amp;gt;&lt;br /&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;searchTitle&lt;/span&gt; should be the same as the one in freshly your created plugin&lt;br /&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;pluginURL &lt;/span&gt;is URL to this plugin XML file on you website&lt;br /&gt;&lt;br /&gt;Thats it, you have new cool and usefull feature on your website ;)</content><link rel='replies' type='application/atom+xml' href='http://htmlauthor.blogspot.com/feeds/6335946638119408282/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/1961366004719843799/6335946638119408282' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1961366004719843799/posts/default/6335946638119408282'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1961366004719843799/posts/default/6335946638119408282'/><link rel='alternate' type='text/html' href='http://htmlauthor.blogspot.com/2007/11/open-search-search-from-modern-browser.html' title='open search - search from modern browser panel'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/06013420050282472003</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjbgME4bUgfZULa_4mpGa2yHTvnTIPmGQRDcmJngX_0GrmACohpoIPPBlidy5lkFHk9jr2mdfZ7_g37QF_nMxztMpmx8xunKakyol_jJmOcfXk5yFNiBcqyFeBbZ5dS-fbIcoRhgrvRikY/s72-c/autodiscover-FF-blue.gif" height="72" width="72"/><thr:total>0</thr:total></entry></feed>