<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<atom:link href="http://www.karelia.com/forum/extern.php?action=feed&amp;fid=16&amp;type=rss" rel="self" type="application/rss+xml" />
		<title><![CDATA[Karelia Community Forum / Sandvox 2 API]]></title>
		<link>http://www.karelia.com/forum/index.php</link>
		<description><![CDATA[The most recent topics at Karelia Community Forum.]]></description>
		<lastBuildDate>Thu, 16 May 2013 18:17:04 +0000</lastBuildDate>
		<generator>FluxBB</generator>
		<item>
			<title><![CDATA["Save" status glich]]></title>
			<link>http://www.karelia.com/forum/viewtopic.php?id=3757&amp;action=new</link>
			<description><![CDATA[<p>Thanks Mike!</p><p>I just wasn&#039;t seeing all the interactions adequately.&#160; Moved it to an action and it works OK now.</p><p>Sean</p>]]></description>
			<author><![CDATA[dummy@example.com (seanc)]]></author>
			<pubDate>Thu, 16 May 2013 18:17:04 +0000</pubDate>
			<guid>http://www.karelia.com/forum/viewtopic.php?id=3757&amp;action=new</guid>
		</item>
		<item>
			<title><![CDATA["addCSSString" not having immediate effect]]></title>
			<link>http://www.karelia.com/forum/viewtopic.php?id=1115&amp;action=new</link>
			<description><![CDATA[<p>Thank you Mike!</p>]]></description>
			<author><![CDATA[dummy@example.com (seanc)]]></author>
			<pubDate>Tue, 03 Apr 2012 21:12:13 +0000</pubDate>
			<guid>http://www.karelia.com/forum/viewtopic.php?id=1115&amp;action=new</guid>
		</item>
		<item>
			<title><![CDATA[Unique CSS IDs?]]></title>
			<link>http://www.karelia.com/forum/viewtopic.php?id=1711&amp;action=new</link>
			<description><![CDATA[<p>Mike, don&#039;t know how best to explain the situation, but I&#039;m left with 3 choices:</p><ol class="decimal"><li><p>provide a means to insure <em>site-wide</em> unique IDs, or ...</p></li><li><p>provide a means to auto-synchronize ALL plugin instances to a <em>single</em> set of properties, or ...</p></li><li><p>leave it up to the user to ensure synchronized properties</p></li></ol><p>CFUUID would work for unique IDs, but produces very long, non-descript, numerical strings. Still investigating it.</p><p>Auto-synchronizing means that changes made to any <em>single</em> inspector would have to <em>automatically</em> propagate to ALL other instances of the plugin.</p><p>For the moment, I&#039;m using #3 - leave it up to the user.&#160; For that, I am using NSUserDefaults, by manual &quot;Save&quot; button, not automatically.&#160; This is still error-prone though.&#160; Documented in the demo plugin:</p><p><a href="http://www.macalchemy.com/nmdemo/demo-plugin/download/navmenudemo.zip" rel="nofollow">http://www.macalchemy.com/nmdemo/demo-p … nudemo.zip</a></p><p>Sean</p>]]></description>
			<author><![CDATA[dummy@example.com (seanc)]]></author>
			<pubDate>Tue, 27 Mar 2012 17:08:11 +0000</pubDate>
			<guid>http://www.karelia.com/forum/viewtopic.php?id=1711&amp;action=new</guid>
		</item>
		<item>
			<title><![CDATA[Awake from NIB?]]></title>
			<link>http://www.karelia.com/forum/viewtopic.php?id=1279&amp;action=new</link>
			<description><![CDATA[<p>I&#039;ll update our docs to include this too.</p>]]></description>
			<author><![CDATA[dummy@example.com (mikeabdullah)]]></author>
			<pubDate>Tue, 07 Feb 2012 14:27:28 +0000</pubDate>
			<guid>http://www.karelia.com/forum/viewtopic.php?id=1279&amp;action=new</guid>
		</item>
		<item>
			<title><![CDATA[Pagelet Title Link?]]></title>
			<link>http://www.karelia.com/forum/viewtopic.php?id=1223&amp;action=new</link>
			<description><![CDATA[<p>Well I&#039;ll make a note of the request :)</p>]]></description>
			<author><![CDATA[dummy@example.com (mikeabdullah)]]></author>
			<pubDate>Wed, 25 Jan 2012 16:26:07 +0000</pubDate>
			<guid>http://www.karelia.com/forum/viewtopic.php?id=1223&amp;action=new</guid>
		</item>
		<item>
			<title><![CDATA[API missing?]]></title>
			<link>http://www.karelia.com/forum/viewtopic.php?id=1114&amp;action=new</link>
			<description><![CDATA[<div class="quotebox"><cite>mikeabdullah wrote:</cite><blockquote><div><p>Could I get a copy of that plist do you think? I&#039;m intrigued to see what info you&#039;re wanting that the built-in CSS styling is falling short on.</p></div></blockquote></div><p>Mike:</p><p>I can send it, but it probably won&#039;t make sense outside the context of the rest of the plugin code.&#160; And it&#039;s out of sync with my current inspector controls (I stopped using it a long time ago, once I had determined that it <em>could</em> work).</p><p>Meanwhile, I can explain it.&#160; As you might guess by the wild variablity in each designs rendering of a nested list, I had to try &amp; compensate for all the anomalies.&#160; It quickly became apparent that trying to do so on a design-by-design basis was futile.&#160; It was much cleaner &amp; easier to reset (zero-out) <em>every</em> list element style, and start anew.</p><p>The fixed &quot;resets&quot; are done in a plugin.css resource file, added to page &lt;head&gt;.&#160; Then the code generates the remaining CSS styles, initializing them from plist, and allowing the user to &quot;fine tune&quot; by inspector.</p><p>The &quot;generated&quot; CSS consists of 2 parts:</p><p>&quot;Generic&quot; values, which produce a consistent &amp; acceptable &quot;list&quot;, but which may or may not come close to looking like the &quot;design&quot; intended.&#160; These values are:</p><ol class="decimal"><li><p>plugin &lt;div&gt; left margin (relative to &quot;designs&quot; #sidebar &amp; .pagelet)</p></li><li><p>main list &lt;UL&gt; left margin</p></li><li><p>sub (nested) list &lt;UL&gt; left margins</p></li><li><p>line-height</p></li></ol><p>&quot;Design&quot; specific values, required to adapt to either &quot;list-style&quot; or &quot;background-image&quot; design bullet types:</p><ol class="decimal"><li><p>page title text left-padding to uncover &quot;background-image&quot; types</p></li><li><p>&quot;background-image&quot; vertical positioning</p></li><li><p>sub-list left-margins (to align sublists with variable width &quot;background-images&quot;)</p></li><li><p>the plugins custom bullet shade (dark/medium/light) to best match the designs background shade</p></li></ol><p>It&#039;s the last 4 that would benefit most with &quot;design detection&quot; ability.&#160; As it is now, if you set it up to look good in a design that uses &quot;list-style&quot; bullets, then switch to a design that uses &quot;background-image&quot; bullets, it all goes wonky, requiring re-manilpulation of inspector values.</p><p>Sean</p>]]></description>
			<author><![CDATA[dummy@example.com (seanc)]]></author>
			<pubDate>Mon, 23 Jan 2012 00:18:38 +0000</pubDate>
			<guid>http://www.karelia.com/forum/viewtopic.php?id=1114&amp;action=new</guid>
		</item>
		<item>
			<title><![CDATA[Sandvox 2.2 plug-in API changes]]></title>
			<link>http://www.karelia.com/forum/viewtopic.php?id=518&amp;action=new</link>
			<description><![CDATA[<p>Once again, I come bearing tidings of a new build:</p><p><a href="http://karelia.com/beta/_Sandvox-beta-24071.dmg" rel="nofollow">http://karelia.com/beta/_Sandvox-beta-24071.dmg</a>?</p><p>Couple of tweaks you may be interested in:</p><ul><li><p>If your plug-in wants to use a custom URL scheme for resource loading (our IM status plug-in does this for example), the </p><div class="codebox"><pre><code>-addResourceAtURL:…</code></pre></div><p> API now registers that properly to work when Internet access is turned off in the prefs</p></li><li><p>Generating an RSS feed ignores &lt;NOSCRIPT&gt; tags created with the SVPlugInContext APIs. Their contents are written out directly, so that RSS readers always show the right content</p></li></ul>]]></description>
			<author><![CDATA[dummy@example.com (mikeabdullah)]]></author>
			<pubDate>Wed, 31 Aug 2011 18:06:24 +0000</pubDate>
			<guid>http://www.karelia.com/forum/viewtopic.php?id=518&amp;action=new</guid>
		</item>
		<item>
			<title><![CDATA[Sandvox 2.1 plug-in API changes]]></title>
			<link>http://www.karelia.com/forum/viewtopic.php?id=311&amp;action=new</link>
			<description><![CDATA[<h5>JSON</h5><p>As of beta 19, we&#039;re also adding in -[SVPlugInContext addMarkupToHead:] for you lucky, lucky developers.</p><p>There&#039;s also an availability macro so you can see at a glance when APIs were added.</p>]]></description>
			<author><![CDATA[dummy@example.com (mikeabdullah)]]></author>
			<pubDate>Mon, 11 Jul 2011 13:21:55 +0000</pubDate>
			<guid>http://www.karelia.com/forum/viewtopic.php?id=311&amp;action=new</guid>
		</item>
		<item>
			<title><![CDATA[Plug-In examples now available on github]]></title>
			<link>http://www.karelia.com/forum/viewtopic.php?id=177&amp;action=new</link>
			<description><![CDATA[<p>The Sandvox SDK that used to come as a .dmg package of goodies hosted on karelia.com has been moved to <a href="https://github.com/" rel="nofollow">github</a>. It&#039;s been retitled <a href="https://github.com/karelia/Sandvox-PlugIn-Examples" rel="nofollow">Sandvox-PlugIn-Examples</a> and you can now download it directly.</p><p>If you are a <a href="http://git-scm.com/" rel="nofollow">git</a> user, or would like to learn, you can also clone the repository or fork it. By doing so you can pull (update) to our latest changes at any time. No more worrying if you have the latest version!</p>]]></description>
			<author><![CDATA[dummy@example.com (terrence)]]></author>
			<pubDate>Sun, 29 May 2011 00:47:18 +0000</pubDate>
			<guid>http://www.karelia.com/forum/viewtopic.php?id=177&amp;action=new</guid>
		</item>
	</channel>
</rss>
