<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:clearspace="http://www.jivesoftware.com/xmlns/clearspace/rss" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:opensearch="http://a9.com/-/spec/opensearch/1.1/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>Robert Shiplett's Blog</title>
    <link>http://developers.curl.com/people/rshiplett/blog</link>
    <description>Curl RIA developer notes.</description>
    <pubDate>Sat, 03 Jul 2010 22:17:42 GMT</pubDate>
    <generator>Clearspace 2.5.7 (http://jivesoftware.com/products/clearspace/)</generator>
    <dc:date>2010-07-03T22:17:42Z</dc:date>
    <item>
      <title>Multiple Curl applets in a single HTML web page</title>
      <link>http://developers.curl.com/people/rshiplett/blog/2010/07/03/multiple-curl-applets-in-a-single-html-web-page</link>
      <description>&lt;!-- [DocumentBodyStart:7a14de4a-7bd5-46c8-afbe-f1defe99f1a2] --&gt;&lt;div class='jive-rendered-content'&gt;&lt;p&gt;Over at &lt;a class="jive-link-external-small" href="http://aule-browser.com/multi-curl/index.htm"&gt;http://aule-browser.com/multi-curl/index.htm&lt;/a&gt; I have placed a new Curl example. This one shows two Curl applets embedded within a single web page.&lt;/p&gt;&lt;p style="min-height: 8pt; height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;It might not be obvious why you would want to do this, but I can think of at least three examples involving compliance monitoring, audit and annotations.&lt;/p&gt;&lt;p style="min-height: 8pt; height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;I have &lt;a class="jive-link-external-small" href="http://phil.aule-browser.com/heid_jaspers.htm"&gt;another example&lt;/a&gt; of running more than one EmbeddedBrowserGraphic against books.google.com within the same Curl applet, but this is somewhat different.&lt;/p&gt;&lt;p style="min-height: 8pt; height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Each applet is embedded in one of two div elements within a main div in the HTML page's body element.  The height of each div on the page is set by a style with a percent value.&lt;/p&gt;&lt;p style="min-height: 8pt; height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Tested on webkit (Safari), Mozilla gecko, Opera 10.60 and IE8&lt;/p&gt;&lt;/div&gt;&lt;!-- [DocumentBodyEnd:7a14de4a-7bd5-46c8-afbe-f1defe99f1a2] --&gt;</description>
      <category domain="http://developers.curl.com/people/rshiplett/blog/tags">html</category>
      <category domain="http://developers.curl.com/people/rshiplett/blog/tags">div</category>
      <category domain="http://developers.curl.com/people/rshiplett/blog/tags">object</category>
      <category domain="http://developers.curl.com/people/rshiplett/blog/tags">embed</category>
      <category domain="http://developers.curl.com/people/rshiplett/blog/tags">multiple_applet</category>
      <pubDate>Sat, 03 Jul 2010 22:17:42 GMT</pubDate>
      <author>grshiplett2@yahoo.com</author>
      <guid>http://developers.curl.com/people/rshiplett/blog/2010/07/03/multiple-curl-applets-in-a-single-html-web-page</guid>
      <dc:date>2010-07-03T22:17:42Z</dc:date>
      <clearspace:dateToText>3 weeks, 5 days ago</clearspace:dateToText>
      <clearspace:replyCount>1</clearspace:replyCount>
      <wfw:comment>http://developers.curl.com/people/rshiplett/blog/comment/multiple-curl-applets-in-a-single-html-web-page</wfw:comment>
      <wfw:commentRss>http://developers.curl.com/people/rshiplett/blog/feeds/comments?blogPost=1230</wfw:commentRss>
    </item>
    <item>
      <title>Cross-browser Curl Pages</title>
      <link>http://developers.curl.com/people/rshiplett/blog/2010/06/29/cross-browser-curl-pages</link>
      <description>&lt;!-- [DocumentBodyStart:403ab14b-311f-42f6-beb2-a7aca32a0d9f] --&gt;&lt;div class='jive-rendered-content'&gt;&lt;p&gt;Enterprise development is very often for the company's approved browser only, but Curl pages on the internet have to address cross-browser issues.&lt;/p&gt;&lt;p style="min-height: 8pt; height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;For the past few days I have been trying to get all of my pages to resize and paginate correctly on a half-size netbook screen in an Ubuntu Web-Kit browser.&lt;/p&gt;&lt;p style="min-height: 8pt; height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;There is still a way to go: the worst problem is the MIME-type behavior.  I have finally stopped embedding &lt;strong&gt;.curl&lt;/strong&gt; URL's in the &lt;strong&gt;href&lt;/strong&gt; of any of my public Curl &lt;strong&gt;{ link }&lt;/strong&gt; expressions and retreated to always wrapping Curl in HTML.&lt;/p&gt;&lt;p style="min-height: 8pt; height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;This has had the positive result of getting me to update my HTML and XHTML.  In other blog posts here I have noted some of the changes that seem effective across all browsers: chief among them is setting a &amp;lt;div&amp;gt; inside the &amp;lt;body&amp;gt; and styling that &lt;strong&gt;div&lt;/strong&gt; to have a height of 100%.  Also I am now careful to place a &amp;lt;div&amp;gt; inside the embedding &amp;lt;object&amp;gt; element so that my HTML pages which embed Curl now end as&lt;/p&gt;&lt;p style="padding-left: 30px;"&gt;       &amp;lt;/div&amp;gt;&lt;/p&gt;&lt;p style="padding-left: 30px;"&gt;     &amp;lt;/object&amp;gt;&lt;/p&gt;&lt;p style="padding-left: 30px;"&gt;    &amp;lt;/div&amp;gt;&lt;/p&gt;&lt;p style="padding-left: 30px;"&gt;  &amp;lt;/body&amp;gt;&lt;/p&gt;&lt;p style="padding-left: 30px;"&gt;&amp;lt;/html&amp;gt;&lt;/p&gt;&lt;p&gt;which lets me see at a glance that probably the page presents OK and validates as well.&lt;/p&gt;&lt;p style="min-height: 8pt; height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;You can test my HTML efforts at &lt;em&gt;logiquewerks.com/index.htm&lt;/em&gt; and my XHTML+&lt;strong&gt;RDFa&lt;/strong&gt; efforts at &lt;em&gt;logiquewerks.com/index.html&lt;/em&gt;&lt;/p&gt;&lt;p style="min-height: 8pt; height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Of course this effort is moot if my &lt;em&gt;sitemap.xml&lt;/em&gt; file is not picked up by search engines such as Google.&lt;/p&gt;&lt;p style="min-height: 8pt; height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Curl Corp. might want to consider updating the default HTML boilerplate for embedding Curl and the docs on embedding Curl in XHTML pages as at least one of the CSS issues was not obvious.&lt;/p&gt;&lt;p style="min-height: 8pt; height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Curl Corp's Chris Barber has some very useful JavaScript snippets over at his Zuzu pages at code.google.com and I'll post a note on using those next time.&lt;/p&gt;&lt;/div&gt;&lt;!-- [DocumentBodyEnd:403ab14b-311f-42f6-beb2-a7aca32a0d9f] --&gt;</description>
      <category domain="http://developers.curl.com/people/rshiplett/blog/tags">rdfa</category>
      <category domain="http://developers.curl.com/people/rshiplett/blog/tags">zuzu</category>
      <category domain="http://developers.curl.com/people/rshiplett/blog/tags">html</category>
      <category domain="http://developers.curl.com/people/rshiplett/blog/tags">css</category>
      <category domain="http://developers.curl.com/people/rshiplett/blog/tags">sitemap.xml</category>
      <category domain="http://developers.curl.com/people/rshiplett/blog/tags">link</category>
      <category domain="http://developers.curl.com/people/rshiplett/blog/tags">defaultdocument</category>
      <category domain="http://developers.curl.com/people/rshiplett/blog/tags">plaindocument</category>
      <category domain="http://developers.curl.com/people/rshiplett/blog/tags">document-style</category>
      <category domain="http://developers.curl.com/people/rshiplett/blog/tags">height</category>
      <category domain="http://developers.curl.com/people/rshiplett/blog/tags">cross-browser</category>
      <category domain="http://developers.curl.com/people/rshiplett/blog/tags">dtd</category>
      <category domain="http://developers.curl.com/people/rshiplett/blog/tags">validate</category>
      <category domain="http://developers.curl.com/people/rshiplett/blog/tags">xhtml</category>
      <category domain="http://developers.curl.com/people/rshiplett/blog/tags">div</category>
      <category domain="http://developers.curl.com/people/rshiplett/blog/tags">embedding</category>
      <category domain="http://developers.curl.com/people/rshiplett/blog/tags">embed</category>
      <pubDate>Tue, 29 Jun 2010 15:55:01 GMT</pubDate>
      <author>grshiplett2@yahoo.com</author>
      <guid>http://developers.curl.com/people/rshiplett/blog/2010/06/29/cross-browser-curl-pages</guid>
      <dc:date>2010-06-29T15:55:01Z</dc:date>
      <clearspace:dateToText>1 month, 1 day ago</clearspace:dateToText>
      <wfw:comment>http://developers.curl.com/people/rshiplett/blog/comment/cross-browser-curl-pages</wfw:comment>
      <wfw:commentRss>http://developers.curl.com/people/rshiplett/blog/feeds/comments?blogPost=1229</wfw:commentRss>
    </item>
    <item>
      <title>Curl MDI Framework</title>
      <link>http://developers.curl.com/people/rshiplett/blog/2010/06/22/curl-mdi-framework</link>
      <description>&lt;!-- [DocumentBodyStart:f2de8ea6-7d2d-4239-b6fa-cdda9698914a] --&gt;&lt;div class='jive-rendered-content'&gt;&lt;p&gt;Over at &lt;a class="jive-link-external-small" href="http://www.logiquewerks.com"&gt;www.logiquewerks.com&lt;/a&gt; there is now a Curl 7.0 version of Paul Sheehan's "Enterprise Curl" MDI framework as version 1.2.  You will find it under the "Curl Examples" link.&lt;/p&gt;&lt;p style="min-height: 8pt; height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;I will update the code repository at code.google.com over the next 24-hours.&lt;/p&gt;&lt;p style="min-height: 8pt; height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;The worst issue was restoring window drag behavior to the AppCanvas.  An MDI Window would only drag to a point where the cursor reached the bounds of its previous position!  You could move a window across the screen in steps, but not in one sweep of the mouse.  This was really odd and I could not find an error in the event handling.&lt;/p&gt;&lt;p style="min-height: 8pt; height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Then in an odd moment of inspiration I went to flip the color of the background canvas to see if there was something obscure there - bingo!  No background was set in the constructor and as soon as a {Background } was provided the strange behavior vanished. To test this, I removed the "fix"and redeployed.  Fenced-in behavior returned.  Made the one change, deployed that PCurl only: odd behavior vanished. But is it a bug?&lt;/p&gt;&lt;p style="min-height: 8pt; height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Another nuisance was to track down the places where bits of web server context information were hard-coded.  I forced the issue by moving all files, directories and even package names to lower-case ( I think of this as unix-friendly and a break with Java-file-mindset.)  It took a little patience, but now that hard-coding issue is looked after.&lt;/p&gt;&lt;p style="min-height: 8pt; height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;There is still lots of work to do on this little demo framework: visit the project at code.google.com&lt;/p&gt;&lt;/div&gt;&lt;!-- [DocumentBodyEnd:f2de8ea6-7d2d-4239-b6fa-cdda9698914a] --&gt;</description>
      <category domain="http://developers.curl.com/people/rshiplett/blog/tags">curl</category>
      <category domain="http://developers.curl.com/people/rshiplett/blog/tags">enterprise</category>
      <category domain="http://developers.curl.com/people/rshiplett/blog/tags">background</category>
      <category domain="http://developers.curl.com/people/rshiplett/blog/tags">drop</category>
      <category domain="http://developers.curl.com/people/rshiplett/blog/tags">drag</category>
      <category domain="http://developers.curl.com/people/rshiplett/blog/tags">canvas</category>
      <category domain="http://developers.curl.com/people/rshiplett/blog/tags">framework</category>
      <category domain="http://developers.curl.com/people/rshiplett/blog/tags">mdi</category>
      <pubDate>Wed, 23 Jun 2010 02:43:35 GMT</pubDate>
      <author>grshiplett2@yahoo.com</author>
      <guid>http://developers.curl.com/people/rshiplett/blog/2010/06/22/curl-mdi-framework</guid>
      <dc:date>2010-06-23T02:43:35Z</dc:date>
      <clearspace:dateToText>1 month, 1 week ago</clearspace:dateToText>
      <wfw:comment>http://developers.curl.com/people/rshiplett/blog/comment/curl-mdi-framework</wfw:comment>
      <wfw:commentRss>http://developers.curl.com/people/rshiplett/blog/feeds/comments?blogPost=1228</wfw:commentRss>
    </item>
    <item>
      <title>Curl for beautiful images</title>
      <link>http://developers.curl.com/people/rshiplett/blog/2010/06/21/curl-for-beautiful-images</link>
      <description>&lt;!-- [DocumentBodyStart:acc19ca0-9ec0-401b-b46e-c6cfcff9477c] --&gt;&lt;div class='jive-rendered-content'&gt;&lt;p&gt;Over at &lt;a class="jive-link-external-small" href="http://www.aule-browser.com/astro/m13.html"&gt;astro.aule-browser.com&lt;/a&gt; there is now a page with one of the most beautiful images returned to us from the Hubble Space Telescope: M13*.&lt;/p&gt;&lt;p style="min-height: 8pt; height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;One of Galileo's achievements had been establishing that some "nebulae" were not "clouds" but clusters of stars.  One of the most beautiful of these can be seen even in a smal telescope by "looking off the fovea".  It is a remarkable experience once you have learned not to "look" at the fuzzy patch, but just allow it to be seen by the outer areas of your retina.&lt;/p&gt;&lt;p style="min-height: 8pt; height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;I have tried to find an optimal layout for this beautiful image: at the moment I am using a 600px X 600px JPG.  I will add more size options. The image is loaded without blocking, so you may see a reminder in white-on-black in the intended frame.&lt;/p&gt;&lt;p style="min-height: 8pt; height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;If you have a layout suggestion for this very fine image, please add a comment.  The image preserves its aspect-ratio on resizing the browser and the ImageGraphic instance is wrapped in a black frame using black {Fill } and sits in a "silver" background using silver {Fill }.  The title is centered in a { TextFlowBox }.&lt;/p&gt;&lt;p style="min-height: 8pt; height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;See the Curl documentation on ImageGraphic, ImageData and ImageLoader for more information.&lt;/p&gt;&lt;p style="min-height: 8pt; height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;The text-proc {image } is intended to be used in a simple document and an example can be found in the docs under Frame.&lt;/p&gt;&lt;p style="min-height: 8pt; height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;One issue about loading images async is that the target must be compatible with your server's Curl license.  What this means in my case is that I am at the moment unable to target &lt;strong&gt;astro.&lt;/strong&gt;aule-browser.com but must instead use the full &lt;a class="jive-link-external-small" href="http://www.aule-browser.com/astro/index.html"&gt;www.aule-browser.com/astro&lt;/a&gt; as the path to the image.  If a user enters from &lt;strong&gt;astro.&lt;/strong&gt;aule-browser.com they get a warning when the applet tries to load from the available &lt;strong&gt;www&lt;/strong&gt; path.  Each time a subdomain is added to aule-browser, I face these license issues ... but only if the applet tries to go back for a resource after startup.  I think this may also be an issue for the {image } text-proc.&lt;/p&gt;&lt;p style="min-height: 8pt; height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;*M13 or NGC  6205 is known as the Hercules Globular Cluster because it is in the "keystone" or "flower pot" of the constellation Hercules.  In the northern hemisphere near summer solstice (about now) it is overhead before midnight and very visible in even good binoculars.  Look in the "western" long-edge of the "keystone" asterism - the grey fuzzy area is not a star!  Although called Messier 13, it is credited to Halley.  M13 was recently shown to have captured a younger blue "field" star in the course of its movement in the Milky way.  A cluster within a galaxy such as M13 should not be confused with a distant elliptical galaxy (itself likely part of a galactic group.)&lt;/p&gt;&lt;/div&gt;&lt;!-- [DocumentBodyEnd:acc19ca0-9ec0-401b-b46e-c6cfcff9477c] --&gt;</description>
      <category domain="http://developers.curl.com/people/rshiplett/blog/tags">jpg</category>
      <category domain="http://developers.curl.com/people/rshiplett/blog/tags">messier</category>
      <category domain="http://developers.curl.com/people/rshiplett/blog/tags">hubble</category>
      <category domain="http://developers.curl.com/people/rshiplett/blog/tags">m13</category>
      <category domain="http://developers.curl.com/people/rshiplett/blog/tags">imagedata</category>
      <category domain="http://developers.curl.com/people/rshiplett/blog/tags">imageloader</category>
      <category domain="http://developers.curl.com/people/rshiplett/blog/tags">fill</category>
      <category domain="http://developers.curl.com/people/rshiplett/blog/tags">aspect_ratio</category>
      <category domain="http://developers.curl.com/people/rshiplett/blog/tags">imagegraphic</category>
      <category domain="http://developers.curl.com/people/rshiplett/blog/tags">image</category>
      <pubDate>Mon, 21 Jun 2010 17:15:57 GMT</pubDate>
      <author>grshiplett2@yahoo.com</author>
      <guid>http://developers.curl.com/people/rshiplett/blog/2010/06/21/curl-for-beautiful-images</guid>
      <dc:date>2010-06-21T17:15:57Z</dc:date>
      <clearspace:dateToText>1 month, 1 week ago</clearspace:dateToText>
      <wfw:comment>http://developers.curl.com/people/rshiplett/blog/comment/curl-for-beautiful-images</wfw:comment>
      <wfw:commentRss>http://developers.curl.com/people/rshiplett/blog/feeds/comments?blogPost=1227</wfw:commentRss>
    </item>
    <item>
      <title>Presenting Confidential Documents in a Curl Applet</title>
      <link>http://developers.curl.com/people/rshiplett/blog/2010/06/17/presenting-confidential-documents-in-a-curl-applet</link>
      <description>&lt;!-- [DocumentBodyStart:64cfbd78-69da-4160-ac62-87cd3fcda57c] --&gt;&lt;div class='jive-rendered-content'&gt;&lt;p&gt;There are a number of ways to ensure that a confidential document cannot be printed or screen-captured when presented in a Curl widget.&lt;/p&gt;&lt;p style="min-height: 8pt; height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;One essential thing to know about print suppression is that if you embed a Curl applet in HTML as an &amp;lt;object&amp;gt; then you can use the style for that page to control presentation on screen separately from presentation in print.&lt;/p&gt;&lt;p style="min-height: 8pt; height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Here is a simple example of CSS that I use in a page presenting copyright material which is for eyes-only (no permission to reproduce)&lt;/p&gt;&lt;p style="padding-left: 30px;"&gt;&amp;lt;style type="text/css" media="print"&amp;gt;&lt;br/&gt;  html {overflow: auto; margin:0; height:5%;}&lt;br/&gt;  body {overflow: hidden; &lt;br/&gt;    margin:0; &lt;br/&gt;    padding:0; &lt;br/&gt;    height:3%;&lt;br/&gt;  }&lt;br/&gt;object{&lt;br/&gt;   height:2%;&lt;br/&gt;   width:3%;&lt;br/&gt;}&lt;br/&gt;&amp;lt;/style&amp;gt;&lt;/p&gt;&lt;p&gt;The result for a page print is a minimal page with perhaps the title as header and the url as footer.&lt;/p&gt;&lt;p style="min-height: 8pt; height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;The key is in the media attribute of the style's &lt;strong&gt;type&lt;/strong&gt; - in our case &lt;strong&gt;media="print"&lt;/strong&gt;.&lt;/p&gt;&lt;p style="min-height: 8pt; height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;The page has another style definition for &lt;strong&gt;media="screen"&lt;/strong&gt;.&lt;/p&gt;&lt;p style="min-height: 8pt; height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;For printing, the HTML has a minimal height, the &lt;strong&gt;body&lt;/strong&gt; somewhat less, and the &lt;strong&gt;object&lt;/strong&gt; element almost none.  I avoid zero values if I can because some browsers have a history of reacting poorly to some zero values.  And when I see SOMETHING print (a header and footer), I know what will NOT print.&lt;/p&gt;&lt;p style="min-height: 8pt; height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;And of course you will want to test your style against multiple browsers on the usual operating systems.&lt;/p&gt;&lt;p style="min-height: 8pt; height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;What is more: the Curl content itself should have a top-level graphic which is suppressing its context menu and the entire applet should suppress the inspection gesture.&lt;/p&gt;&lt;/div&gt;&lt;!-- [DocumentBodyEnd:64cfbd78-69da-4160-ac62-87cd3fcda57c] --&gt;</description>
      <category domain="http://developers.curl.com/people/rshiplett/blog/tags">url</category>
      <category domain="http://developers.curl.com/people/rshiplett/blog/tags">title</category>
      <category domain="http://developers.curl.com/people/rshiplett/blog/tags">footer</category>
      <category domain="http://developers.curl.com/people/rshiplett/blog/tags">header</category>
      <category domain="http://developers.curl.com/people/rshiplett/blog/tags">width</category>
      <category domain="http://developers.curl.com/people/rshiplett/blog/tags">height</category>
      <category domain="http://developers.curl.com/people/rshiplett/blog/tags">embed</category>
      <category domain="http://developers.curl.com/people/rshiplett/blog/tags">style_type</category>
      <category domain="http://developers.curl.com/people/rshiplett/blog/tags">print_preview</category>
      <category domain="http://developers.curl.com/people/rshiplett/blog/tags">element</category>
      <category domain="http://developers.curl.com/people/rshiplett/blog/tags">object</category>
      <category domain="http://developers.curl.com/people/rshiplett/blog/tags">body</category>
      <category domain="http://developers.curl.com/people/rshiplett/blog/tags">screen</category>
      <category domain="http://developers.curl.com/people/rshiplett/blog/tags">media</category>
      <category domain="http://developers.curl.com/people/rshiplett/blog/tags">type</category>
      <category domain="http://developers.curl.com/people/rshiplett/blog/tags">style</category>
      <category domain="http://developers.curl.com/people/rshiplett/blog/tags">browser</category>
      <category domain="http://developers.curl.com/people/rshiplett/blog/tags">applet</category>
      <category domain="http://developers.curl.com/people/rshiplett/blog/tags">print</category>
      <category domain="http://developers.curl.com/people/rshiplett/blog/tags">confidential_document</category>
      <category domain="http://developers.curl.com/people/rshiplett/blog/tags">text</category>
      <category domain="http://developers.curl.com/people/rshiplett/blog/tags">css</category>
      <category domain="http://developers.curl.com/people/rshiplett/blog/tags">curl</category>
      <pubDate>Thu, 17 Jun 2010 11:45:44 GMT</pubDate>
      <author>grshiplett2@yahoo.com</author>
      <guid>http://developers.curl.com/people/rshiplett/blog/2010/06/17/presenting-confidential-documents-in-a-curl-applet</guid>
      <dc:date>2010-06-17T11:45:44Z</dc:date>
      <clearspace:dateToText>1 month, 1 week ago</clearspace:dateToText>
      <clearspace:replyCount>1</clearspace:replyCount>
      <wfw:comment>http://developers.curl.com/people/rshiplett/blog/comment/presenting-confidential-documents-in-a-curl-applet</wfw:comment>
      <wfw:commentRss>http://developers.curl.com/people/rshiplett/blog/feeds/comments?blogPost=1226</wfw:commentRss>
    </item>
    <item>
      <title>Why to style embedded &lt;object&gt; with CSS</title>
      <link>http://developers.curl.com/people/rshiplett/blog/2010/06/07/why-to-style-embedded-object-with-css</link>
      <description>&lt;!-- [DocumentBodyStart:15a7aa31-0353-4dfb-8a95-9c7180e604ad] --&gt;&lt;div class='jive-rendered-content'&gt;&lt;p&gt;One good reason to use CSS with the &amp;lt;object&amp;gt; tag when embedding Curl applets in HTML is that you can specify the media type in the style sheet.&lt;/p&gt;&lt;p style="min-height: 8pt; height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;When the media type is "screen" I set the view to 100% sizes for HTML, BODY nd OBJECT.&lt;/p&gt;&lt;p style="min-height: 8pt; height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;But when I have copyrighted text to present, I set the values of height and width to minimal pixel non-zero values for HTML, BODY and OBJECT in the separate style for "print" media.&lt;/p&gt;&lt;p style="min-height: 8pt; height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;In Curl we ususally suppress the developer menu popup with &lt;strong&gt;{disable-inspection-gesture}.&lt;/strong&gt;&lt;/p&gt;&lt;p style="min-height: 8pt; height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;For the top-level graphic, we can suppress the context menu with&lt;/p&gt;&lt;p style="min-height: 8pt; height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="padding-left: 30px;"&gt;my-graphic.add-event-handler &lt;br/&gt;    {on evt:AttachEvent do&lt;br/&gt;       set &lt;strong&gt;evt.root-frame.context-menu-for-view&lt;/strong&gt; = null&lt;br/&gt;    }&lt;/p&gt;&lt;p style="min-height: 8pt; height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;You can even simply pass&lt;/p&gt;&lt;p&gt;    {on evt:AttachEvent do&lt;br/&gt;       set &lt;strong&gt;evt.root-frame.context-menu-for-view&lt;/strong&gt; = null&lt;br/&gt;    }&lt;/p&gt;&lt;p&gt;to a {paragraph } that is an outer wrapper ( I do this in a custom {view-only} text procedure.)&lt;/p&gt;&lt;p style="min-height: 8pt; height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Whether or not selection is left enabled, IE will still have Select-all enabled and then Copy will enable on the browser Edit menu - but nothing is captured.&lt;/p&gt;&lt;p style="min-height: 8pt; height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;If you have set a title for you page, the print view in the browser offers just about that much.&lt;/p&gt;&lt;p style="min-height: 8pt; height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;By monitoring mouse events and key events and/or using a splash screen you can also keep the clipboard clear and block Screen Print/capture activities when you want a document to be "for-your-eyes-only".&lt;/p&gt;&lt;p style="min-height: 8pt; height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;By using just the outer wrapper to suppress the context menu, you can encourage users to register, respect copyright or others restrict access to text resources such as restricted technical or policy papers or pre-prints of not-for-release materials.  For registered users, you point to a page with a stub for that wrapper - but the Curl markup of a text need not change.  It remains a simple, useful, readable and elegant as ever.&lt;/p&gt;&lt;/div&gt;&lt;!-- [DocumentBodyEnd:15a7aa31-0353-4dfb-8a95-9c7180e604ad] --&gt;</description>
      <category domain="http://developers.curl.com/people/rshiplett/blog/tags">context_menu_for_view</category>
      <category domain="http://developers.curl.com/people/rshiplett/blog/tags">inspection_gesture</category>
      <category domain="http://developers.curl.com/people/rshiplett/blog/tags">print</category>
      <category domain="http://developers.curl.com/people/rshiplett/blog/tags">media</category>
      <category domain="http://developers.curl.com/people/rshiplett/blog/tags">style</category>
      <category domain="http://developers.curl.com/people/rshiplett/blog/tags">object</category>
      <category domain="http://developers.curl.com/people/rshiplett/blog/tags">css</category>
      <category domain="http://developers.curl.com/people/rshiplett/blog/tags">embed</category>
      <category domain="http://developers.curl.com/people/rshiplett/blog/tags">curl</category>
      <category domain="http://developers.curl.com/people/rshiplett/blog/tags">popup</category>
      <category domain="http://developers.curl.com/people/rshiplett/blog/tags">suppress</category>
      <pubDate>Mon, 07 Jun 2010 21:54:20 GMT</pubDate>
      <author>grshiplett2@yahoo.com</author>
      <guid>http://developers.curl.com/people/rshiplett/blog/2010/06/07/why-to-style-embedded-object-with-css</guid>
      <dc:date>2010-06-07T21:54:20Z</dc:date>
      <clearspace:dateToText>1 month, 3 weeks ago</clearspace:dateToText>
      <clearspace:replyCount>1</clearspace:replyCount>
      <wfw:comment>http://developers.curl.com/people/rshiplett/blog/comment/why-to-style-embedded-object-with-css</wfw:comment>
      <wfw:commentRss>http://developers.curl.com/people/rshiplett/blog/feeds/comments?blogPost=1225</wfw:commentRss>
    </item>
    <item>
      <title>Curl Site-specific Browser prototypes at LogiqueWerks</title>
      <link>http://developers.curl.com/people/rshiplett/blog/2009/06/15/curl-site-specific-browser-prototypes-at-logiquewerks</link>
      <description>&lt;!-- [DocumentBodyStart:2a082159-a24a-48a8-9fed-65c5908e2e24] --&gt;&lt;div class='jive-rendered-content'&gt;&lt;p&gt;I have a couple of new examples of using our Embedded Browser Graphic in my Curl pages at &lt;a class="jive-link-external-small" href="http://www.logiquewerks.com"&gt;logiquewerks.com&lt;/a&gt;&lt;/p&gt;&lt;p style="min-height: 8pt; height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;There is now an &lt;a class="jive-link-external-small" href="http://www.aule-browser.com/simple-browser_002.curl"&gt;internet search&lt;/a&gt; browser, an &lt;a class="jive-link-external-small" href="http://www.aule-browser.com/mail.curl"&gt;e-mail&lt;/a&gt; browser and an &lt;a class="jive-link-external-small" href="http://www.aule-browser.com/movies.curl"&gt;on-line movies&lt;/a&gt; browser.&lt;/p&gt;&lt;p style="min-height: 8pt; height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Another is for an &lt;em&gt;"eyes-only" browser&lt;/em&gt; for text on &lt;strong&gt;confidential web pages&lt;/strong&gt; using Windows and Internet Explorer.&lt;/p&gt;&lt;p style="min-height: 8pt; height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Use the &lt;em&gt;Move Controller&lt;/em&gt; button first and drag the controller dialog to one side.&lt;/p&gt;&lt;p style="min-height: 8pt; height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Then click &lt;em&gt;Show Document.&lt;/em&gt;&lt;/p&gt;&lt;p style="min-height: 8pt; height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Suggestions welcome.  One way of defeating the "controller" was overcome today.&lt;/p&gt;&lt;p style="min-height: 8pt; height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;And it keeps an eye on the Windows clipboard ;-)&lt;/p&gt;&lt;p style="min-height: 8pt; height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="min-height: 8pt; height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;a class="jive-link-external-small" href="http://technorati.com/claim/yb77392v22"&gt;Technorati Profile&lt;/a&gt;&lt;/p&gt;&lt;/div&gt;&lt;!-- [DocumentBodyEnd:2a082159-a24a-48a8-9fed-65c5908e2e24] --&gt;</description>
      <category domain="http://developers.curl.com/people/rshiplett/blog/tags">aule_browser</category>
      <category domain="http://developers.curl.com/people/rshiplett/blog/tags">site-specific_browser</category>
      <category domain="http://developers.curl.com/people/rshiplett/blog/tags">browser</category>
      <category domain="http://developers.curl.com/people/rshiplett/blog/tags">embeddedbrowsergraphic</category>
      <category domain="http://developers.curl.com/people/rshiplett/blog/tags">curl</category>
      <category domain="http://developers.curl.com/people/rshiplett/blog/tags">ssb</category>
      <pubDate>Mon, 15 Jun 2009 23:10:09 GMT</pubDate>
      <author>grshiplett2@yahoo.com</author>
      <guid>http://developers.curl.com/people/rshiplett/blog/2009/06/15/curl-site-specific-browser-prototypes-at-logiquewerks</guid>
      <dc:date>2009-06-15T23:10:09Z</dc:date>
      <clearspace:dateToText>1 year, 1 month ago</clearspace:dateToText>
      <clearspace:replyCount>7</clearspace:replyCount>
      <wfw:comment>http://developers.curl.com/people/rshiplett/blog/comment/curl-site-specific-browser-prototypes-at-logiquewerks</wfw:comment>
      <wfw:commentRss>http://developers.curl.com/people/rshiplett/blog/feeds/comments?blogPost=1197</wfw:commentRss>
    </item>
  </channel>
</rss>

