<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Pario TechnoBlob &#187; html</title>
	<atom:link href="http://pario.no/tag/html/feed/" rel="self" type="application/rss+xml" />
	<link>http://pario.no</link>
	<description>A cronological documentation test project, nothing serious, really!</description>
	<lastBuildDate>Wed, 14 Jul 2010 12:12:31 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>Replace specific HTML tags using sed and regular expression</title>
		<link>http://pario.no/2009/06/12/replace-specific-html-tags-using-sed-and-regular-expression/</link>
		<comments>http://pario.no/2009/06/12/replace-specific-html-tags-using-sed-and-regular-expression/#comments</comments>
		<pubDate>Fri, 12 Jun 2009 13:33:22 +0000</pubDate>
		<dc:creator>Hans-Henry Jakobsen</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Scripting]]></category>
		<category><![CDATA[Web]]></category>
		<category><![CDATA[html]]></category>
		<category><![CDATA[regexp]]></category>
		<category><![CDATA[replace]]></category>
		<category><![CDATA[sed]]></category>

		<guid isPermaLink="false">http://pario.no/?p=1126</guid>
		<description><![CDATA[In this post I would like to replace all &#60;embed&#62; HTML tags in a HTML file with a &#60;strong&#62; tag. # sed -e 's/&#60;embed[^>]*&#62;/&#60;strong&#62;/g' filename.html > newfile.html And if you would like to remove the &#60;embed&#62; tag altogether # sed -e 's/&#60;embed[^>]*&#62;//g' filename.html > newfile.html To remove all HTML tags in a file # sed [...]]]></description>
			<content:encoded><![CDATA[<p>In this post I would like to replace all &lt;embed&gt; HTML tags in a HTML file with a &lt;strong&gt; tag.</p>
<pre>
# sed -e 's/&lt;embed[^>]*&gt;/&lt;strong&gt;/g' filename.html > newfile.html</pre>
<p>And if you would like to remove the &lt;embed&gt; tag altogether</p>
<pre>
# sed -e 's/&lt;embed[^>]*&gt;//g' filename.html > newfile.html</pre>
<p>To remove all HTML tags in a file</p>
<pre>
# sed -e 's/&lt;[^>]*&gt;//g' filename.html > newfile.html</pre>
<p>The result file newfile.html is now without any &lt; HTML tags &gt;.</p>
<script type="text/javascript">var wordpress_toolbar_urls = [];var wordpress_toolbar_url = "http://pario.no/wp-content/plugins/wordpress-toolbar/toolbar.php";var wordpress_toolbar_oinw = "n";var wordpress_toolbar_hash = "aHR0cDovL3BhcmlvLm5vLzIwMDkvMDYvMTIvcmVwbGFjZS1zcGVjaWZpYy1odG1sLXRhZ3MtdXNpbmctc2VkLWFuZC1yZWd1bGFyLWV4cHJlc3Npb24vPHdwdGI%2BUmVwbGFjZSBzcGVjaWZpYyBIVE1MIHRhZ3MgdXNpbmcgc2VkIGFuZCByZWd1bGFyIGV4cHJlc3Npb248d3B0Yj5odHRwOi8vcGFyaW8ubm88d3B0Yj5QYXJpbyBUZWNobm9CbG9i";</script>]]></content:encoded>
			<wfw:commentRss>http://pario.no/2009/06/12/replace-specific-html-tags-using-sed-and-regular-expression/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Valid Flash</title>
		<link>http://pario.no/2009/03/16/valid-flash/</link>
		<comments>http://pario.no/2009/03/16/valid-flash/#comments</comments>
		<pubDate>Mon, 16 Mar 2009 15:18:09 +0000</pubDate>
		<dc:creator>Hans-Henry Jakobsen</dc:creator>
				<category><![CDATA[Scripting]]></category>
		<category><![CDATA[Web]]></category>
		<category><![CDATA[Flash]]></category>
		<category><![CDATA[html]]></category>

		<guid isPermaLink="false">http://pario.no/?p=969</guid>
		<description><![CDATA[I&#8217;ve gotten tired of my Flashpresentation movies not being valid HTML. After some research and a tip from a friend of mine I found this solution to the problem. &#60;object type="application/x-shockwave-flash" data="images/banner.swf" width="288" height="128"&#62; &#60;param name="movie" value="images/banner.swf" /&#62; &#60;img src="banner.gif" width="288" height="128" alt="banner" /&#62; &#60;/object&#62; It works great and shows a image file if Flash [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve gotten tired of my Flashpresentation movies not being valid HTML. After some research and a tip from a friend of mine I found this solution to the problem.</p>
<pre>&lt;object type="application/x-shockwave-flash" data="images/banner.swf" width="288" height="128"&gt;
&lt;param name="movie" value="images/banner.swf" /&gt;
&lt;img src="banner.gif" width="288" height="128" alt="banner" /&gt;
&lt;/object&gt;</pre>
<p>It works great and shows a image file if Flash support isn&#8217;t available.</p>
<p>Source: <a href="http://www.ambience.sk/flash-valid.htm">http://www.ambience.sk/flash-valid.htm</a></p>
<script type="text/javascript">var wordpress_toolbar_urls = ["http:\/\/www.ambience.sk\/flash-valid.htm"];var wordpress_toolbar_url = "http://pario.no/wp-content/plugins/wordpress-toolbar/toolbar.php";var wordpress_toolbar_oinw = "n";var wordpress_toolbar_hash = "aHR0cDovL3BhcmlvLm5vLzIwMDkvMDMvMTYvdmFsaWQtZmxhc2gvPHdwdGI%2BVmFsaWQgRmxhc2g8d3B0Yj5odHRwOi8vcGFyaW8ubm88d3B0Yj5QYXJpbyBUZWNobm9CbG9i";</script>]]></content:encoded>
			<wfw:commentRss>http://pario.no/2009/03/16/valid-flash/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Create a year calendar for 2008 using pcal</title>
		<link>http://pario.no/2007/11/22/create-a-year-calendar-for-2008-using-pcal/</link>
		<comments>http://pario.no/2007/11/22/create-a-year-calendar-for-2008-using-pcal/#comments</comments>
		<pubDate>Thu, 22 Nov 2007 14:18:27 +0000</pubDate>
		<dc:creator>Hans-Henry Jakobsen</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[calendar]]></category>
		<category><![CDATA[html]]></category>
		<category><![CDATA[pcal]]></category>

		<guid isPermaLink="false">http://pario.no/2007/11/22/create-a-calendar-for-2008-using-pcal/</guid>
		<description><![CDATA[I wanted to make a whole year calendar and found pcal, a command line tool. pcal -F 1 -E -B -O -p -w -o 2008.ps 2008 -F starting weekday; 1 is Monday -E specifies European formatted dates -B leave unused date boxes blank, default is grey -O selected days will be printed as outlined characters [...]]]></description>
			<content:encoded><![CDATA[<p>I wanted to make a whole year calendar and found <strong>pcal</strong>, a command line tool.<br />
<code><br />
pcal -F 1 -E -B -O -p -w -o 2008.ps 2008</code></p>
<ul>
<li>-F starting weekday; 1 is Monday</li>
<li>-E specifies European formatted dates</li>
<li>-B leave unused date boxes blank, default is grey</li>
<li>-O selected days will be printed as outlined characters</li>
<li>-p output in portrait mode</li>
<li>-o specifies an output file in PostScript format.</li>
<li>2008 is the year I want to print the calendar. PCAL&#8217;s default option is to produce the calendar for the current year.</li>
</ul>
<p>It is also possible to generate a calendar as HTML table using the -H switch.</p>
<p>This program can be installed in Debian/Ubuntu<br />
<code>apt-get install pcal</code></p>
<script type="text/javascript">var wordpress_toolbar_urls = [];var wordpress_toolbar_url = "http://pario.no/wp-content/plugins/wordpress-toolbar/toolbar.php";var wordpress_toolbar_oinw = "n";var wordpress_toolbar_hash = "aHR0cDovL3BhcmlvLm5vLzIwMDcvMTEvMjIvY3JlYXRlLWEteWVhci1jYWxlbmRhci1mb3ItMjAwOC11c2luZy1wY2FsLzx3cHRiPkNyZWF0ZSBhIHllYXIgY2FsZW5kYXIgZm9yIDIwMDggdXNpbmcgcGNhbDx3cHRiPmh0dHA6Ly9wYXJpby5ubzx3cHRiPlBhcmlvIFRlY2hub0Jsb2I%3D";</script>]]></content:encoded>
			<wfw:commentRss>http://pario.no/2007/11/22/create-a-year-calendar-for-2008-using-pcal/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Premailer: preflight for HTML e-mail</title>
		<link>http://pario.no/2007/10/23/premailer-preflight-for-html-e-mail/</link>
		<comments>http://pario.no/2007/10/23/premailer-preflight-for-html-e-mail/#comments</comments>
		<pubDate>Tue, 23 Oct 2007 08:20:28 +0000</pubDate>
		<dc:creator>Hans-Henry Jakobsen</dc:creator>
				<category><![CDATA[Web]]></category>
		<category><![CDATA[CSS]]></category>
		<category><![CDATA[e-mail]]></category>
		<category><![CDATA[html]]></category>

		<guid isPermaLink="false">http://pario.no/2007/10/23/premailer-preflight-for-html-e-mail/</guid>
		<description><![CDATA[Premailer is a script accessible from the web that turns external CSS webpage into inline, improving the rendering of HTML e-mail. This makes it possible to make a webpage and then run it througt this script to make a HTML e-mail. var wordpress_toolbar_urls = ["http:\/\/code.dunae.ca\/premailer.web\/"];var wordpress_toolbar_url = "http://pario.no/wp-content/plugins/wordpress-toolbar/toolbar.php";var wordpress_toolbar_oinw = "n";var wordpress_toolbar_hash = "aHR0cDovL3BhcmlvLm5vLzIwMDcvMTAvMjMvcHJlbWFpbGVyLXByZWZsaWdodC1mb3ItaHRtbC1lLW1haWwvPHdwdGI%2BUHJlbWFpbGVyOiBwcmVmbGlnaHQgZm9yIEhUTUwgZS1tYWlsPHdwdGI%2BaHR0cDovL3BhcmlvLm5vPHdwdGI%2BUGFyaW8gVGVjaG5vQmxvYg%3D%3D";]]></description>
			<content:encoded><![CDATA[<p><a href="http://code.dunae.ca/premailer.web/" target="_blank">Premailer</a> is a script accessible from the web that turns external <abbr>CSS</abbr> webpage into inline, improving the rendering of <abbr>HTML</abbr> e-mail.</p>
<p>This makes it possible to make a webpage and then run it througt this script to make a HTML e-mail.</p>
<script type="text/javascript">var wordpress_toolbar_urls = ["http:\/\/code.dunae.ca\/premailer.web\/"];var wordpress_toolbar_url = "http://pario.no/wp-content/plugins/wordpress-toolbar/toolbar.php";var wordpress_toolbar_oinw = "n";var wordpress_toolbar_hash = "aHR0cDovL3BhcmlvLm5vLzIwMDcvMTAvMjMvcHJlbWFpbGVyLXByZWZsaWdodC1mb3ItaHRtbC1lLW1haWwvPHdwdGI%2BUHJlbWFpbGVyOiBwcmVmbGlnaHQgZm9yIEhUTUwgZS1tYWlsPHdwdGI%2BaHR0cDovL3BhcmlvLm5vPHdwdGI%2BUGFyaW8gVGVjaG5vQmxvYg%3D%3D";</script>]]></content:encoded>
			<wfw:commentRss>http://pario.no/2007/10/23/premailer-preflight-for-html-e-mail/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Left and Right align text on the same line</title>
		<link>http://pario.no/2007/10/05/left-and-right-align-text-on-the-same-line/</link>
		<comments>http://pario.no/2007/10/05/left-and-right-align-text-on-the-same-line/#comments</comments>
		<pubDate>Fri, 05 Oct 2007 10:21:55 +0000</pubDate>
		<dc:creator>Hans-Henry Jakobsen</dc:creator>
				<category><![CDATA[Web]]></category>
		<category><![CDATA[CSS]]></category>
		<category><![CDATA[html]]></category>

		<guid isPermaLink="false">http://pario.no/2007/10/05/left-and-right-align-text-on-the-same-line/</guid>
		<description><![CDATA[It can sometimes be useful to have some text be aligned to the left and some text be aligned to the right on the same line, eg in a footer. Here is how this can be done in HTML: &#60;div id="footer"&#62; &#60;p class="leftalign"&#62;Text on the left.&#60;/p&#62; &#60;p class="rightalign"&#62;Text on the right.&#60;/p&#62; &#60;/div&#62; If you were [...]]]></description>
			<content:encoded><![CDATA[<p>It can sometimes be useful to have some text be aligned to the left and some text be aligned to the right on the same line, eg in a footer.</p>
<p>Here is how this can be done in HTML:</p>
<pre>&lt;div id="footer"&gt;
  &lt;p class="leftalign"&gt;Text on the left.&lt;/p&gt;
  &lt;p class="rightalign"&gt;Text on the right.&lt;/p&gt;
&lt;/div&gt;</pre>
<p>If you were to then give your CSS classes leftalign and rightalign values of text-align: left; and text-align: right; respectively, you would get close to your desired result, but your right-aligned text would be bumped down one line because of the new paragraph. Instead, just float your paragraphs:</p>
<p><code> </code></p>
<pre>.leftalign {
float: left;
}
.rightalign {
float: right;
}</pre>
<p>Then just remember to clear your float:</p>
<p><code> </code></p>
<pre>&lt;div style="clear: both;"&gt;&lt;/div&gt;</pre>
<script type="text/javascript">var wordpress_toolbar_urls = [];var wordpress_toolbar_url = "http://pario.no/wp-content/plugins/wordpress-toolbar/toolbar.php";var wordpress_toolbar_oinw = "n";var wordpress_toolbar_hash = "aHR0cDovL3BhcmlvLm5vLzIwMDcvMTAvMDUvbGVmdC1hbmQtcmlnaHQtYWxpZ24tdGV4dC1vbi10aGUtc2FtZS1saW5lLzx3cHRiPkxlZnQgYW5kIFJpZ2h0IGFsaWduIHRleHQgb24gdGhlIHNhbWUgbGluZTx3cHRiPmh0dHA6Ly9wYXJpby5ubzx3cHRiPlBhcmlvIFRlY2hub0Jsb2I%3D";</script>]]></content:encoded>
			<wfw:commentRss>http://pario.no/2007/10/05/left-and-right-align-text-on-the-same-line/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
