<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xml:base="https://www.stress-free.co.nz"  xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
 <title>stressfree - html</title>
 <link>https://www.stress-free.co.nz/tech/html</link>
 <description></description>
 <language>en</language>
<item>
 <title>Making Drupal&#039;s TinyMCE module produce domain absolute URLs</title>
 <link>https://www.stress-free.co.nz/making_drupals_tinymce_module_produce_domain_absolute_urls</link>
 <description>
  &lt;div class=&quot;field-body&quot;&gt;
    &lt;div class=&quot;image&quot;&gt;&lt;img src=&quot;https://www.stress-free.co.nz/sites/default/files/u63/feedburner-icon.gif&quot; width=&quot;100&quot; height=&quot;105&quot; /&gt;&lt;/div&gt;
&lt;p&gt;By default Drupal&amp;#39;s excellent &lt;a href=&quot;http://drupal.org/project/tinymce&quot;&gt;TinyMCE module&lt;/a&gt; will convert domain aboslute URLs (e.g. &lt;a href=&quot;https://www.stress-free.co.nz/sites/default/files/u63/drupal_logo.png&quot;&gt;https://www.stress-free.co.nz/sites/default/files/u63/drupal_logo.png&lt;/a&gt;) into plain old absolute URLs (e.g. /files/u63/drupal_logo.png). Generally this is not a problem so long as you do not want to use an external web service such as &lt;a href=&quot;http://www.feedburner.com/&quot;&gt;FeedBurner for your RSS feeds&lt;/a&gt;. Unfortunately FeedBurner does not handle plain old absolute URLs very well. This is because the domain name for your FeedBurner enabled RSS feed is feeds.feedburner.com and any absolute (or relative) links in your post try resolving to this domain name rather than the original website.&lt;/p&gt;
&lt;p&gt;In a perfect world FeedBurner would parse incoming RSS feeds and replace absolute/relative URLs with domain aboslute URLs to ensure everything works (or maybe it can and I haven&amp;#39;t figured out how to do this). Fixing this problem in Drupal when you are using the TinyMCE editor is a little tricky because TinyMCE tries to be helpful by replacing your domain absolute URLs. To get around this we have to tell TinyMCE to leave these URLs alone and convert any new absolute or relative URLs into their domain absolute equivalents.&lt;/p&gt;
&lt;p&gt;To achieve this edit the modules/tinymce/tinymce.module file in your Drupal site and change the following lines (line numbers relate to &lt;a href=&quot;http://drupal.org/node/105231&quot;&gt;5.x-1.x-dev&lt;/a&gt; release of the TinyMCE module):&lt;/p&gt;
&lt;p&gt;Line 494 change:&lt;/p&gt;
&lt;p class=&quot;codesnippet&quot;&gt;$host = $base_url;&lt;/p&gt;
&lt;p&gt;to your site&amp;#39;s domain name:&lt;/p&gt;
&lt;p class=&quot;codesnippet&quot;&gt;$host = &amp;quot;&lt;a href=&quot;http://www.yoursite.com/&amp;quot;;&quot;&gt;http://www.yoursite.com/&amp;quot;;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Between lines 505-506&lt;/p&gt;
&lt;p class=&quot;codesnippet&quot;&gt;$init[&amp;#39;relative_urls&amp;#39;]      = &amp;#39;false&amp;#39;;&lt;br /&gt;$init[&amp;#39;document_base_url&amp;#39;]  = &amp;quot;$host&amp;quot;;&lt;/p&gt;
&lt;p&gt;add the following extra parameter:&lt;/p&gt;
&lt;p class=&quot;codesnippet&quot;&gt;$init[&amp;#39;relative_urls&amp;#39;]      = &amp;#39;false&amp;#39;;&lt;br /&gt;&lt;strong&gt;$init[&amp;#39;remove_script_host&amp;#39;] = &amp;#39;false&amp;#39;; &lt;/strong&gt;&lt;br /&gt;$init[&amp;#39;document_base_url&amp;#39;]  = &amp;quot;$host&amp;quot;;&lt;/p&gt;
&lt;p&gt;These settings are taken from the &lt;a href=&quot;http://wiki.moxiecode.com/index.php/TinyMCE:FAQ#Domain_Absolute_URLs&quot;&gt;TinyMCE FAQ on the subject&lt;/a&gt;. Once you have made these changes you should find TinyMCE behaves itself much better when it comes to using FeedBurner.&lt;/p&gt;
&lt;!--break--&gt;  &lt;/div&gt;

&lt;ul class=&quot;field-taxonomy-vocabulary-1&quot;&gt;

      &lt;li&gt;
      &lt;a href=&quot;/tech/html&quot;&gt;html&lt;/a&gt;    &lt;/li&gt;
      &lt;li&gt;
      &lt;a href=&quot;/tech/drupal&quot;&gt;drupal&lt;/a&gt;    &lt;/li&gt;
  
&lt;/ul&gt;
</description>
 <pubDate>Fri, 08 Jun 2007 00:01:25 +0000</pubDate>
 <dc:creator>David</dc:creator>
 <guid isPermaLink="false">441 at https://www.stress-free.co.nz</guid>
</item>
<item>
 <title>What is the answer to HTML, Web 2.0 and everything?</title>
 <link>https://www.stress-free.co.nz/what_is_the_answer_to_html_web_2_0_and_everything</link>
 <description>
  &lt;div class=&quot;field-body&quot;&gt;
    &lt;p&gt;Well it may not be 42 but this great video by &lt;a href=&quot;http://pages.citebite.com/k1b0c6n9s6vwx&quot;&gt;Michael Wesch an Assistant Professor at Kansas State University&lt;/a&gt; does an excellent job of visually explaining what Web 2.0 is all about and how it differs from conventional media and the Web we all go used to prior to this Century:&lt;/p&gt;&lt;h2&gt;&lt;a href=&quot;http://www.youtube.com/watch?v=6gmP4nk0EOE&quot;&gt;Web 2.0 ... The Machine is Us/ing Us&lt;/a&gt;&lt;/h2&gt;&lt;!--break--&gt;  &lt;/div&gt;

&lt;ul class=&quot;field-taxonomy-vocabulary-1&quot;&gt;

      &lt;li&gt;
      &lt;a href=&quot;/thesis&quot;&gt;thesis&lt;/a&gt;    &lt;/li&gt;
      &lt;li&gt;
      &lt;a href=&quot;/tech/semantic_web&quot;&gt;semantic web&lt;/a&gt;    &lt;/li&gt;
      &lt;li&gt;
      &lt;a href=&quot;/tech/web_2_0&quot;&gt;web 2.0&lt;/a&gt;    &lt;/li&gt;
      &lt;li&gt;
      &lt;a href=&quot;/tech/html&quot;&gt;html&lt;/a&gt;    &lt;/li&gt;
  
&lt;/ul&gt;
</description>
 <pubDate>Tue, 13 Feb 2007 11:09:07 +0000</pubDate>
 <dc:creator>David</dc:creator>
 <guid isPermaLink="false">400 at https://www.stress-free.co.nz</guid>
</item>
<item>
 <title>Very nice CSS replacement for the SELECT MULITPLE tag</title>
 <link>https://www.stress-free.co.nz/very_nice_css_replacement_for_the_select_mulitple_tag</link>
 <description>
  &lt;div class=&quot;field-body&quot;&gt;
      &lt;p&gt;The title pretty much explains everything. The SELECT form tag has a MULTIPLE option but in practice this turns very ugly very quickly. This little &lt;a href=&quot;http://c82.net/article.php?ID=25&quot; title=&quot;CSS based SELECT MULTIPLE equivalent&quot;&gt;CSS hack&lt;/a&gt; provides the functionality of the tag without the user-interface nightmares.&lt;/p&gt;  &lt;p&gt; &lt;/p&gt;   &lt;/div&gt;

&lt;ul class=&quot;field-taxonomy-vocabulary-1&quot;&gt;

      &lt;li&gt;
      &lt;a href=&quot;/tech/website_design&quot;&gt;website design&lt;/a&gt;    &lt;/li&gt;
      &lt;li&gt;
      &lt;a href=&quot;/tech/css&quot;&gt;css&lt;/a&gt;    &lt;/li&gt;
      &lt;li&gt;
      &lt;a href=&quot;/tech/html&quot;&gt;html&lt;/a&gt;    &lt;/li&gt;
  
&lt;/ul&gt;
</description>
 <pubDate>Mon, 19 Dec 2005 21:17:25 +0000</pubDate>
 <dc:creator>David</dc:creator>
 <guid isPermaLink="false">190 at https://www.stress-free.co.nz</guid>
</item>
<item>
 <title>Book Review: The Zen of CSS Design</title>
 <link>https://www.stress-free.co.nz/book_review_the_zen_of_css_design</link>
 <description>
  &lt;div class=&quot;field-body&quot;&gt;
    After suffering from an artistic drought when laying out a web page I went out and purchased &lt;a href=&quot;http://www.amazon.com/exec/obidos/tg/detail/-/0321303474/qid=1113573337/sr=8-1/ref=pd_csp_1/002-2835558-8308021?v=glance&amp;amp;s=books&amp;amp;n=507846&quot;&gt;The Zen of CSS Design&lt;/a&gt; by Dave Shea and Molly Holzschlag. The book is very attractive and filled with colour images of web pages from numerous designers from around the world. It caught my eye when browsing the rows of web design books because it did not actually look like a computer book, in fact if you dropped the acronym CSS you would not even guess it was about technical web programming. &lt;br /&gt;&lt;br /&gt;The subject of the book revolves around a single website: &lt;a href=&quot;http://www.csszengarden.com/&quot;&gt;Zen Garden&lt;/a&gt;, a showcase for leading edge CSS (Cascading Style Sheets) and web design. The unique thing about Zen Garden is that the designs use exactly the same HTML code, all the clever formatting is achieved through CSS1 &amp;amp; CSS2 applied intelligently and with a few clever hacks. Whilst I have known about CSS for years I had not fully appreciated its capabilities and potential for vastly improving web user interfaces until I read the Zen of CSS Design. All aspects of web design from colour to layout are covered with case studies from the Zen Garden website used to illustrate these ideas.&lt;br /&gt;&lt;br /&gt;Unlike other HTML &amp;amp; CSS books the Zen of CSS Design does not start out at beginner level and work up to advanced techniques. Instead it assumes the reader understands the basic principles of web technologies and intermingles advanced CSS techniques in between theory. This is great for experienced people but may turn beginners off initially. I like this approach and also feel someone with no experience with HTML or CSS could still learn a great deal from the basic principles conveyed.&lt;br /&gt;&lt;br /&gt;I have read many books and few have radically changed the way I think about all aspects of web design as much as this one. Not only is this a great book for visual inspiration it also is great for technical programmers seeking to create sleek code that is cross-browser compatible and easily portable to other platforms such as PDAs. I would recommend it to anyone interested in web design or looking for new techniques and principles to improve their existing websites. &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;  &lt;/div&gt;

&lt;ul class=&quot;field-taxonomy-vocabulary-1&quot;&gt;

      &lt;li&gt;
      &lt;a href=&quot;/tech/css&quot;&gt;css&lt;/a&gt;    &lt;/li&gt;
      &lt;li&gt;
      &lt;a href=&quot;/tech/html&quot;&gt;html&lt;/a&gt;    &lt;/li&gt;
      &lt;li&gt;
      &lt;a href=&quot;/tech/book_review&quot;&gt;book review&lt;/a&gt;    &lt;/li&gt;
  
&lt;/ul&gt;
</description>
 <pubDate>Thu, 14 Apr 2005 22:18:21 +0000</pubDate>
 <dc:creator>David</dc:creator>
 <guid isPermaLink="false">84 at https://www.stress-free.co.nz</guid>
</item>
</channel>
</rss>
