Re: [Radiant] Radiant for Blogin - Shorthand?
Adam van den Hoven said the following on 12/06/2008 05:20 PM: > If you wrote a simple parameterized snippet (you'd need that extension > too), you could easily set things up so that you have: > > Some Cool book > > its not exactly what you want but it would be > 80% of the way there! I've been playing around with snippets. There's the good and the bad. The good is that for long strings like Amazon references this works out, but needs to tell the difference between a specific product and a more generic thing like a search for the works of an author. The Amazon URL strings for both are long enough to make it worth while or to have some javaascript like the 'Add Quick Linker Widget'. However for things like YouTube or Wikipedia there's a vast difference between typing and and In fact even a generic tag that deals with URL abbreviations - call it "ab" - like where the set of abbreviations and how they are expanded is in a database table and so can be customized, is STILL too clunky. I can live with '' but I'd still prefer '' because that leads to the others like and so forth. Sadly I'm not a programmer (best I can do is small patches) and the javascript for this kind of thing is beyond me. I don't suppose there are any 'standard libraries' that do this? -- What goes around comes around. ___ Radiant mailing list Post: Radiant@radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant
Re: [Radiant] Radiant for Blogin - Shorthand?
Not universally available, you need to be an associate, but Amazon offers this, which is done by javascript: https://widgets.amazon.com/Amazon-QuickLinker-Widget Add Quick Linker Widget After you install this widget to your blog or Web Page, you can quickly and easily link to relevant Amazon.com products as you write your blog posts or update your page content by including custom HTML tags as you type. Your Quick Links will have your Associates ID automatically included. Learn more * Harry Potter o Links to Amazon.com search results page for "Harry Potter". * My favorite hero o The link reads "My favorite hero" and points to a search results page for the phrase"Harry Potter". * My favorite hero o Links to a search results page for the phrase "Harry Potter", but only in the Books category. o View a list of valid Amazon.com category attributes * I love this item o The link reads "I love this item" and links directly to the specific Amazon product with Amazon id (ASIN) "B12345" For some reason the code I used with my associate account at amazon.com doesn't work, but the code with the account at amazon.ca does. Sadly many items aren't available in Canada and many people need to use the USA site. Adam van den Hoven said the following on 12/06/2008 05:20 PM: > If you wrote a simple parameterized snippet (you'd need that extension > too), you could easily set things up so that you have: > > Some Cool book > > its not exactly what you want but it would be > 80% of the way there! > > > > > On 6-Dec-08, at 12:53 PM, Anton J Aylward wrote: > >> Another Blog related question. >> >> I'm using KDE/Linux. The browser, Konqueror, has 'shorthand' or >> 'abbreviations', such as 'cpan', 'jeeves', 'google', 'ggmovie', 'wp' >> (for wikipedia). >> >> It occurs to me that I'm making a lot of references to Amazon in my >> blog. It would be nice to be able to write "" and >> have >> a reference to that isbn or product id. Even better if it also has my >> Associates ID in there as well :-) >> >> There's something like this on Rory Hansen's site >> http://www.roryhansen.ca/category/ruby-on-rails/ >> >> :-( Shame I'm not a programmer :-( >> >> The Amazon example is clearly useful. I can think of a couple of >> others >> that are marginal like YouTube and Twitter and Flickr. Perhaps a >> 'configurable' "url-abbreviation-expander" is the right idea, like in >> Konqueror. -- Security should be as intuitive as possible. -- Bruce Schneier ___ Radiant mailing list Post: Radiant@radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant
Re: [Radiant] Radiant for Blogin - Shorthand?
If you wrote a simple parameterized snippet (you'd need that extension too), you could easily set things up so that you have: Some Cool book its not exactly what you want but it would be > 80% of the way there! On 6-Dec-08, at 12:53 PM, Anton J Aylward wrote: Another Blog related question. I'm using KDE/Linux. The browser, Konqueror, has 'shorthand' or 'abbreviations', such as 'cpan', 'jeeves', 'google', 'ggmovie', 'wp' (for wikipedia). It occurs to me that I'm making a lot of references to Amazon in my blog. It would be nice to be able to write "" and have a reference to that isbn or product id. Even better if it also has my Associates ID in there as well :-) There's something like this on Rory Hansen's site http://www.roryhansen.ca/category/ruby-on-rails/ :-( Shame I'm not a programmer :-( The Amazon example is clearly useful. I can think of a couple of others that are marginal like YouTube and Twitter and Flickr. Perhaps a 'configurable' "url-abbreviation-expander" is the right idea, like in Konqueror. -- Atheism is a non-prophet organization. ___ Radiant mailing list Post: Radiant@radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant ___ Radiant mailing list Post: Radiant@radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant
Re: [Radiant] Radiant for Blogin - Shorthand?
Another Blog related question. I'm using KDE/Linux. The browser, Konqueror, has 'shorthand' or 'abbreviations', such as 'cpan', 'jeeves', 'google', 'ggmovie', 'wp' (for wikipedia). It occurs to me that I'm making a lot of references to Amazon in my blog. It would be nice to be able to write "" and have a reference to that isbn or product id. Even better if it also has my Associates ID in there as well :-) There's something like this on Rory Hansen's site http://www.roryhansen.ca/category/ruby-on-rails/ :-( Shame I'm not a programmer :-( The Amazon example is clearly useful. I can think of a couple of others that are marginal like YouTube and Twitter and Flickr. Perhaps a 'configurable' "url-abbreviation-expander" is the right idea, like in Konqueror. -- Atheism is a non-prophet organization. ___ Radiant mailing list Post: Radiant@radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant