<?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: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-1659010505943068086</id><updated>2011-07-28T07:23:52.800-07:00</updated><title type='text'>Examplet Center Blog</title><subtitle type='html'>This is a Dual-Blog for Examplet Center.</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://examplet.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1659010505943068086/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://examplet.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Cloudgen</name><uri>http://www.blogger.com/profile/08743949064640780589</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>2</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-1659010505943068086.post-3878811924091924351</id><published>2010-05-11T23:31:00.001-07:00</published><updated>2010-05-11T23:39:07.966-07:00</updated><title type='text'>What is an Examplet?</title><content type='html'>&lt;h2&gt;&lt;span style="font-size:100%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/h2&gt; &lt;p&gt;What is the meaning of an examplet? As described by &lt;a href="http://docs.google.com/gview?a=v&amp;amp;q=cache:kWKGg2wkwPQJ:subs.emis.de/LNI/Proceedings/Proceedings28/GI-Proceedings.28-47.pdf+examplet&amp;amp;hl=en"&gt;Markus  Grabert &amp;amp; Derek Bridge&lt;/a&gt;, &lt;a href="http://examplet.buss.hk/examplet/examplet.php"&gt;examplet&lt;/a&gt;  consists of two parts: the &lt;a href="http://examplet.buss.hk/snippet/snippet.php"&gt;snippet&lt;/a&gt; of  source code, and a &lt;a href="http://examplet.buss.hk/statement-of-goal/statement-of-goal.php"&gt;statement  of goal&lt;/a&gt; in free text. Moreover, a &lt;a href="http://examplet.buss.hk/statement-of-goal/statement-of-goal.php"&gt;statement  of goal&lt;/a&gt; usually associated with application notes.  An "example", on the other hand, can be regarded as incomplete  "Examplet", either the "&lt;a href="http://examplet.buss.hk/snippet/snippet.php"&gt;snippet&lt;/a&gt;" is  incompleted or without a &lt;a href="http://examplet.buss.hk/statement-of-goal/statement-of-goal.php"&gt;statement  of goal&lt;/a&gt;.  &lt;/p&gt; &lt;p&gt;The purpose of setting up the Examplet Center is to provide a place  for keeping &lt;a href="http://examplet.buss.hk/examplet/examplet.php"&gt;examplets&lt;/a&gt;  and examples that I have written for different purposes.&lt;/p&gt; &lt;p&gt;&lt;span style="font-size:100%;"&gt;The Specification of Examplet Class&lt;/span&gt;&lt;/p&gt; &lt;ol&gt; &lt;li&gt;The Examplet Class should have the following objects (properties)&lt;/li&gt; &lt;ul&gt; &lt;li&gt;- Examplet's ID (Long Integer)&lt;/li&gt; &lt;li&gt;- Examplet's Snippet (Text containing source code)&lt;/li&gt; &lt;li&gt;- Examplet's Namespace (A Urn notation)&lt;/li&gt; &lt;li&gt;- Examplet's Statement of Goal (text for describing the goal)&lt;/li&gt; &lt;li&gt;- Examplet's Application Notes (text for describing how to apply the  snippet)&lt;/li&gt; &lt;li&gt;- Related Examplet (urn for similar exmamplet)&lt;/li&gt; &lt;/ul&gt; &lt;li&gt;The Examplet Class should generate RDF format&lt;/li&gt; &lt;li&gt;The Examplet Class should have the database connectivity&lt;/li&gt; &lt;li&gt;The Examplet Class can be displayed as an independent web page.&lt;/li&gt; &lt;/ol&gt; &lt;p&gt; &lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1659010505943068086-3878811924091924351?l=examplet.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://examplet.blogspot.com/feeds/3878811924091924351/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://examplet.blogspot.com/2010/05/what-is-examplet_11.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1659010505943068086/posts/default/3878811924091924351'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1659010505943068086/posts/default/3878811924091924351'/><link rel='alternate' type='text/html' href='http://examplet.blogspot.com/2010/05/what-is-examplet_11.html' title='What is an Examplet?'/><author><name>Cloudgen</name><uri>http://www.blogger.com/profile/08743949064640780589</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1659010505943068086.post-3780471685053936347</id><published>2010-05-11T19:45:00.001-07:00</published><updated>2010-05-11T23:39:07.976-07:00</updated><title type='text'>Moving Content from old domain</title><content type='html'>I was thinking of upgrading the services from the current Web Hosting  company which has been hosting the &lt;a href="http://w0ng.hk/"&gt;w0ng.hk&lt;/a&gt;  domain for 4 years.  So, it is the time thinking about the reallocating  the content from the w0ng.hk to some other domains that I owned.&lt;br /&gt;&lt;br /&gt;Another  reason for move content from &lt;a href="http://cloudgen.w0ng.hk/"&gt;cloudgent.w0ng.hk&lt;/a&gt;  to &lt;a href="http://examplet.buss.hk/"&gt;examplet.buss.hk&lt;/a&gt; is that I  want to keep &lt;a href="http://cloudgen.w0ng.hk/"&gt;cloudgen.w0ng.hk&lt;/a&gt; as a  domain name for my personal blog.&lt;br /&gt;&lt;br /&gt;As I am doing experiment about  the Search Engine Page Rank with dual website (Website with double web  address) , I don't want to place the HTTP 301 or HTTP 302 redirect to  every page I created.  Furthermore, for the domain server of w0ng.hk, I  don't have the right to add CNAME.  I don't want to make a pure copy of  source code from one domain to the other, which create the difficulties  in updating codes in both website.&lt;br /&gt;&lt;br /&gt;It's the time to use something  which is similar to &lt;a href="http://app-engine-guide.buss.hk/demo/path-forward-by-python-google-app-engine"&gt;Path  Forward Proxy&lt;/a&gt; which I have described in &lt;a href="http://app-engine-guide.buss.hk/"&gt;App Engine Guide&lt;/a&gt;.  Since the  original source code files from cloudgen.w0ng.hk are mainly in PHP, I  have to convert the script from Python into PHP.&lt;br /&gt;&lt;br /&gt;To retrieve the  source code from other server, we can use the urlfetch object in Python.   In PHP, there is a similar object called curl.  However, the syntax  from urlfetch is quite different to curl.&lt;br /&gt;&lt;br /&gt;After some experiments,  I have completed a simple PHP script for path forward proxy and I have  applied most of the pages in the cloudgen.w0ng.hk.&lt;br /&gt;&lt;br /&gt;By the way,  moving the content from one domain to another domain is a big topic.   Page rank of a web page is the accumulation effect of links pointing to  that page together with the geographical factors, domain name factors  and the keywords appeared in the content of the web page.&lt;br /&gt;&lt;br /&gt;This  transition provides a good opportunity in observing the how those  factors affecting web pages with same content but different domain name.   By adjusting the links pointing to the website, I can have a full  picture of degree of page ranks offered by different links in different  website.&lt;br /&gt;&lt;br /&gt;Observing the transition of page rank from one domain to other domain is  a kind of fun :P&lt;br /&gt;&lt;br /&gt;Happy Programming&lt;br /&gt;Cloudgen&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1659010505943068086-3780471685053936347?l=examplet.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://examplet.blogspot.com/feeds/3780471685053936347/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://examplet.blogspot.com/2010/05/moving-content-from-old-domain_5363.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1659010505943068086/posts/default/3780471685053936347'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1659010505943068086/posts/default/3780471685053936347'/><link rel='alternate' type='text/html' href='http://examplet.blogspot.com/2010/05/moving-content-from-old-domain_5363.html' title='Moving Content from old domain'/><author><name>Cloudgen</name><uri>http://www.blogger.com/profile/08743949064640780589</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry></feed>
