{"id":58,"date":"2007-07-04T08:36:33","date_gmt":"2007-07-04T07:36:33","guid":{"rendered":"http:\/\/nilrogsplace.se\/blog\/2007\/07\/stash-a-rapidweaver-plugin\/"},"modified":"2007-07-04T08:36:33","modified_gmt":"2007-07-04T07:36:33","slug":"stash-a-rapidweaver-plugin","status":"publish","type":"post","link":"https:\/\/nilrogsplace.se\/blog\/2007\/07\/stash-a-rapidweaver-plugin\/","title":{"rendered":"@stash ett plugin f\u00f6r RapidWeaver"},"content":{"rendered":"<p>[lang_en]Today you can download yet another <a href=\"http:\/\/www.realmacsoftware.com\/rapidweaver\/\">RapidWeaver<\/a> plugin from my site. The name is @stash and like the name hints it will allow you to &#8221;stash&#8221; text and codesnippets inside your projectfile. In some ways it is similar to the built-in feature &#8221;Snippets&#8221; in RapidWeaver 3.6 but does so in a different way because @stash is all about keeping your stuff inside the projectfile. This plugin started growing before I even knew what was going to be in RapidWeaver 3.6. If I had I would maybe not have written it, but now I have and i&#8217;m sharing it with you since it is a nice complement to &#8221;Snippets&#8221;.<\/p>\n<p>@stash also works with RapidWeaver 3.5.1 (OSX 10.4 is required) so now those who haven&#8217;t yet upgraded to 3.6 can start using all those fantastic <a href=\"http:\/\/www.realmacsoftware.com\/addons\/index.php?type=snippet\">codesnippets<\/a> that all the users have started to share.[\/lang_en]<br \/>\n[lang_sv]I dag kan du ladda hem \u00e4nnu ett plugin f\u00f6r <a href=\"http:\/\/www.realmacsoftware.com\/rapidweaver\/\">RapidWeaver<\/a>. Namnet \u00e4r @stash och som namnet p\u00e5 engelska antyder s\u00e5 till\u00e5ter det dig att spara text och kodsnuttar inuti din projektfil. Till viss del s\u00e5 fungerar det som den inbyggda &#8221;Snippets&#8221; finessen i RapidWeaver 3.6 men det g\u00f6r det p\u00e5 ett helt annorlunda s\u00e4tt f\u00f6r @stash \u00e4r t\u00e4nkt att knyta allt till din projektfil. Plugin:et b\u00f6rjade ta form l\u00e5ngt innan jag ens visste vad RapidWeaver 3.6 skulle inneh\u00e5lla. Om jag hade vetat det s\u00e5 skulle jag kanske inte ha skapat @stash, men nu har jag gjort det och jag delar med mig det till dig eftersom det \u00e4r ett bra komplement till &#8221;Snippets&#8221;.<\/p>\n<p>@stash fungerar ocks\u00e5 tillsammans med RapidWeaver 3.5.1 (OSX 10.4 kr\u00e4vs) s\u00e5 nu kan \u00e4ven dom som inte har uppgraderat till 3.6 ta del av alla fantastiska <a href=\"http:\/\/http:\/\/www.realmacsoftware.com\/addons\/index.php?type=snippet\">kodsnuttar<\/a> som alla anv\u00e4ndare har b\u00f6rjat dela med sig.[\/lang_sv]<br \/>\n<!--more--><br \/>\n[lang_en]But lets get back to @stash and what it does. Because it does more than just storing your items inside the projectfile. You can also reference (import) these items into any styled textarea in your project using the following tag:<\/p>\n<p>@stash((item name))<\/p>\n<p>The tag will be replace by the content of the referenced item when your page is rendered.<\/p>\n<p>But there is more too&#8230; You can also access these items from a HUD inspector, available through the &#8221;View&#8221; menu and a configurable keyboard shortcut, and drag the items to where you want to use them (either the tag or the actual content of the item). So there is no need for you to remember the name of the items in your head. Just open the inspector, hover the mouse over an item to see it&#8217;s comment, if the name you used isn&#8217;t a good enough hint for what the item does, and drag the item onto your current page.<\/p>\n<p>Here is a list of the current features:<\/p>\n<ul>\n<li>Store any text and codesnippets (PHP, HTML etc.) inside your projectfile.<\/li>\n<li>Organize the items in groups and subgroups.<\/li>\n<li>Import and Export item(s) in XML format (not the same as .rwsnippets).<\/li>\n<li>Import .rwsnippets, either by importing the file or dragging the snippet from the inspector to the @stash sourcelist.<\/li>\n<li>Import selected text by dragging it to the @stash sourcelist.<\/li>\n<li>Reference your items into styled textareas with the @stash((item name)) tag. When the page is exported the item will automatically get the &#8217;ignore formatting&#8217; attribute applied to prevent RapidWeaver from &#8221;destroying&#8221; the code.<\/li>\n<li>Access your @stash items from a HUD inspector on any page in your project.<\/li>\n<li>&#8230;probably forgot something but try it out and send me feedback \ud83d\ude42\n<\/ul>\n<p>So what can you do with it? I put one example in a <a href=\"http:\/\/nilrogsplace.se\/blog\/2007\/05\/wrapping-up-the-design-of-another-rw-plugin\/\">previous post<\/a>. The documentation is still a bit short but I have posted a <a href=\"http:\/\/nilrogsplace.se\/webdesign\/rapidweaver\/plugins\/stash\/\">webpage<\/a> about it that will show you a little bit about what it does.<\/p>\n<p>The plugin is free for personal and non-commercial use, for other usage it is donationware. You can download the plugin from my <a href=\"http:\/\/nilrogsplace.se\/webdesign\/rapidweaver\/plugins\/stash\/\">@stash page<\/a> and try it out.[\/lang_en]<br \/>\n[lang_sv]Men l\u00e5t oss \u00e5terg\u00e5 till @stash och vad det kan g\u00f6ra. F\u00f6r det kan g\u00f6ra mer \u00e4n bara spara dina objekt inuti projektfilen. Du kan n\u00e4mligen ocks\u00e5 referera (importera) dessa objekt ifr\u00e5n alla stilerade textareor i ditt projekt med hj\u00e4lp av f\u00f6ljande tagg:<\/p>\n<p>@stash((item name))<\/p>\n<p>Taggen ers\u00e4tts med inneh\u00e5llet av det refererade objektet n\u00e4r din sida renderas.<\/p>\n<p>Men det \u00e4r inte allt&#8230; Du kan ocks\u00e5 komma \u00e5t dessa objekt fr\u00e5n en HUD inspector, finns tillg\u00e4nglig fr\u00e5n &#8221;View&#8221; menyn och ett konfigurerbart kortkommando, och dra dina objekt dit du will ha dom (antingen taggen eller inneh\u00e5llet i objektet). S\u00e5 du beh\u00f6ver inte komma ih\u00e5g namnet p\u00e5 dina objekt. Det \u00e4r bara att \u00f6ppna inspector f\u00f6nstret, h\u00e5ll muspekaren \u00f6ver ett objekt f\u00f6r att se dess kommentar, om namnet du angett inte tydligt nog identifierar ditt objekt, och dra det dit du vill anv\u00e4nda det p\u00e5 din sida.<\/p>\n<p>H\u00e4r \u00e4r en lista \u00f6ver alla features som finns just nu:<\/p>\n<ul>\n<li>Spara text och kodsnuttar (PHP, HTML etc.) inuti din projektfil<\/li>\n<li>Organisera dina objekt i grupper och undergrupper.<\/li>\n<li>Importera and Exportera objekt(en) i XML format (inte samma format som .rwsnippets).<\/li>\n<li>Importera .rwsnippets, antingen genom att importera filen eller genom att dra en &#8221;snippet&#8221; fr\u00e5n snippets-f\u00f6nstret till listan i @stash.<\/li>\n<li>Importera markerad text genom att dra den till listan i @stash.<\/li>\n<li>Referera till dina objekt fr\u00e5n stilerade textareor med @stash((item name)) taggen. N\u00e4r sidan exporteras s\u00e5 f\u00e5r kommer attributet &#8217;ignore formatting&#8217; automatiskt att l\u00e4ggas till f\u00f6r att f\u00f6rhindra att RapidWeaver &#8221;f\u00f6rst\u00f6r&#8221; koden.<\/li>\n<li>N\u00e5 dina @stash objekt via ett HUD f\u00f6nster fr\u00e5n alla sidor i ditt projekt..<\/li>\n<li>&#8230;jag har f\u00f6rmodligen gl\u00f6mt n\u00e5got med testa det och skicka feedback \ud83d\ude42\n<\/ul>\n<p>S\u00e5 vad kan du d\u00e5 g\u00f6ra med det? Jag skrev om ett exempel i ett <a href=\"http:\/\/nilrogsplace.se\/blog\/2007\/05\/wrapping-up-the-design-of-another-rw-plugin\/\">tidigare inl\u00e4gg<\/a>. Dokumentationen \u00e4r fortfarande lite sparsam men jag har lagt upp <a href=\"http:\/\/nilrogsplace.se\/webdesign\/rapidweaver\/plugins\/stash\/\">en sida<\/a> om det s\u00e5 att du kan se lite mer om vad det g\u00f6r.<\/p>\n<p>Plugin:et \u00e4r gratis att anv\u00e4nda f\u00f6r privat och icke-kommersiellt bruk, f\u00f6r \u00f6vrig anv\u00e4ndning \u00e4r det donationware. Du kan ladda hem plugin:et fr\u00e5n min <a href=\"http:\/\/nilrogsplace.se\/webdesign\/rapidweaver\/plugins\/stash\/\">@stash sida<\/a> och testa det.[\/lang_sv]<\/p>\n","protected":false},"excerpt":{"rendered":"<p>[lang_en]Today you can download yet another RapidWeaver plugin from my site. The name is @stash and like the name hints it will allow you to &#8221;stash&#8221; text and codesnippets inside your projectfile. In some ways it is similar to the built-in feature &#8221;Snippets&#8221; in RapidWeaver 3.6 but does so in a different way because @stash [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[7,9],"tags":[13,71,72,47],"class_list":["post-58","post","type-post","status-publish","format-standard","hentry","category-plugins","category-rapidweaver","tag-stash","tag-plugins","tag-rapidweaver","tag-released"],"_links":{"self":[{"href":"https:\/\/nilrogsplace.se\/blog\/wp-json\/wp\/v2\/posts\/58","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/nilrogsplace.se\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/nilrogsplace.se\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/nilrogsplace.se\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/nilrogsplace.se\/blog\/wp-json\/wp\/v2\/comments?post=58"}],"version-history":[{"count":0,"href":"https:\/\/nilrogsplace.se\/blog\/wp-json\/wp\/v2\/posts\/58\/revisions"}],"wp:attachment":[{"href":"https:\/\/nilrogsplace.se\/blog\/wp-json\/wp\/v2\/media?parent=58"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/nilrogsplace.se\/blog\/wp-json\/wp\/v2\/categories?post=58"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/nilrogsplace.se\/blog\/wp-json\/wp\/v2\/tags?post=58"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}