<?xml version="1.0" encoding="UTF-8"?><!-- generator="wordpress.com" -->
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	>

<channel>
	<title>opensearch &amp;laquo; WordPress.com Tag Feed</title>
	<link>http://wordpress.com/tag/opensearch/</link>
	<description>Feed of posts on WordPress.com tagged "opensearch"</description>
	<pubDate>Wed, 20 Aug 2008 16:19:06 +0000</pubDate>

	<generator>http://wordpress.com/tags/</generator>
	<language>en</language>

<item>
<title><![CDATA[Seu site na barra de buscas do navegador]]></title>
<link>http://pliniotorres.wordpress.com/?p=608</link>
<pubDate>Mon, 23 Jun 2008 16:14:16 +0000</pubDate>
<dc:creator>Plínio Torres</dc:creator>
<guid>http://pliniotorres.wordpress.com/?p=608</guid>
<description><![CDATA[E ai galera! Esta dica é mais voltada para donos de sites ou blogs, mas qualquer pessoa que gosta d]]></description>
<content:encoded><![CDATA[<p style="text-align:left;">E ai galera! Esta dica é mais voltada para donos de sites ou blogs, mas qualquer pessoa que gosta de praticidade na hora de realizar buscas em seus sites preferidos, pode aproveitá-la também.</p>
<p><img class="alignleft size-full wp-image-609" style="border:0 none;margin-left:10px;margin-right:5px;" src="http://pliniotorres.wordpress.com/files/2008/06/barra1.gif" alt="" width="244" height="190" /></p>
<p style="text-align:left;">A grande maioria dos usuários que utilizam as versões mais recentes de seus navegadores favoritos ( Firefox 2 e 3 e Internet Explorer 7 e 8 ) conhecem e usam a famosa barra de buscas que normalmente fica situada na parte superior direita do navegador, que provê acesso rápido a vários mecanismos de buscas em um único formulário, de uma forma simples e rápida.</p>
<p style="text-align:left;">Por padrão, os principais mecanismos de busca já se encontram incluídos neste formulário, como Google, Yahoo e Live Search, além de algumas buscas extras, como Wikipédia, Buscapé e Mercado Livre.</p>
<p style="text-align:left;">Se o navegador não julga o meu site como importante o suficiente para ser incluído como busca padrão em sua barra, como eu posso adicionar a busca do meu site neste mecanismo?</p>
<p style="text-align:left;">Simples, basta criar um adicionador usando o padrão <a href="http://www.opensearch.org/" target="_blank"><strong>OpenSearch</strong></a> e disponibilizá-lo para que os visitantes possam adicionar a minha busca entre seus provedores de busca favoritos. O padrão OpenSearch normaliza os padrões de sintaxe usados na criação de sistemas de buscas, tornando-os compatíveis com a maioria dos navegadores, para que os pobres desenvolvedores não precisem criar uma busca diferente para cada navegador utilizado pelo usuário. Padrões abertos são importantes e facilitam a vida! Certo, Microsoft?</p>
<p style="text-align:left;"><strong>1. Definindo o Sistema de Busca:</strong> Para se criar um provedor de buscas, o site em questão deve possuir um sistema de buscas interno que possa receber parâmetros pelo método GET, ou seja, receber o conteúdo que deseja ser buscado através de uma URL.</p>
<p style="text-align:left;"><strong>Exemplo:</strong> Blogs baseados no sistema Wordpress, possuem um mecanismo de buscas interno onde a expressão buscada, no caso a palavra Linux, é passada para o arquivo responsável pela busca (index.php) através da variável "s", onde a busca é feita e retornada ao usuário. O mesmo exemplo é facilmente observado no Google.</p>
<p style="text-align:left;"><a href="http://pliniotorres.wordpress.com/index.php?s=linux" target="_blank"><strong>http://pliniotorres.wordpress.com/index.php?s=linux</strong></a></p>
<p style="text-align:left;"><a href="http://www.google.com.br/search?q=linux" target="_blank"><strong>http://www.google.com.br/search?q=linux</strong></a></p>
<p style="text-align:left;"><strong>2. Montando o Arquivo de Adição:</strong> Após definir a busca, vamos montar o arquivo XML responsável por adicionar a sua busca ao sistema de buscas da barra do navegador. Abra um arquivo em branco no bloco de notas e adicione os seguintes comandos:</p>
<p style="text-align:left;"><em>&#60;?xml version="1.0" encoding="</em><em>iso-8859-1</em><em>"?&#62;<br />
&#60;OpenSearchDescription xmlns="http://a9.com/-/spec/opensearch/1.1/"&#62;</em><em><br />
&#60;ShortName&#62;Blog do Plínio Torres&#60;/ShortName&#62;<br />
&#60;LongName&#62;</em><em>Blog do Plínio Torres - O equilíbrio que mantém os sistemas funcioando</em><em>&#60;/LongName&#62;</em><br />
<em> &#60;Description&#62;Blog sobre informática e tecnologia&#60;/Description&#62;<br />
&#60;Url type="text/html" template="http://pliniotorres.wordpress.com/index.php?s={searchTerms}"/&#62;<br />
&#60;Image height="64" width="64" type="image/png"&#62;http://pliniotorres.wordpress.com/imagens/icone64.png&#60;/Image&#62;<br />
&#60;Image height="16" width="16" type="image/png"&#62;</em><em>http://pliniotorres.wordpress.com/imagens</em><em>/icone16.png&#60;/Image&#62;<br />
&#60;Language&#62;pt-br&#60;/Language&#62;<br />
&#60;OutputEncoding&#62;iso-8859-1&#60;/OutputEncoding&#62;<br />
&#60;InputEncoding&#62;iso-8859-1&#60;/InputEncoding&#62;<br />
&#60;/OpenSearchDescription&#62;</em></p>
<p style="text-align:left;">Salve o arquivo com a extensão XML, usando um nome minúsculo e sem espaços: <strong>busca.xml</strong></p>
<p>Download do exemplo <strong><a href="http://www.pliniotorres.com/busca.zip" target="_blank">aqui</a></strong>.</p>
<p style="text-align:left;"><strong>Explicando:</strong></p>
<p style="text-align:left;">Este é o cabeçalho do arquivo OpenSearch. O padrão para o encoding deste documento é <strong>UTF-8</strong>, mas para evitarmos problemas com acentuação, definiremos a encoding <strong>iso-8859-1.</strong></p>
<p style="text-align:left;"><em>&#60;?xml version="1.0" encoding="iso-8859-1"?&#62;<br />
&#60;OpenSearchDescription xmlns="http://a9.com/-/spec/opensearch/1.1/"&#62;</em></p>
<p style="text-align:left;">Em <strong>ShortName, LongName</strong> e <strong>Description</strong>, preencha as tags com o nome e a descrição do seu site ou blog, como no exemplo abaixo. Este nome aparecerá na hora de selecionar o provedor na barra de buscas.</p>
<p style="text-align:left;"><em>&#60;ShortName&#62;Blog do Plínio Torres&#60;/ShortName&#62;<br />
&#60;LongName&#62;</em><em>Blog do Plínio Torres - O equilíbrio que mantém os sistemas funcioando</em><em>&#60;/LongName&#62;</em><br />
<em> &#60;Description&#62;Blog sobre informática e tecnologia&#60;/Description&#62;</em></p>
<p style="text-align:left;">A tag <strong>template</strong> é a mais importante do arquivo. Aqui é definido o endereço que será usado pela busca interna do seu site. Basta adicionar o endereço da busca, mais o local onde o termo pesquisado deve ser encaixado no endereço. O local onde o termo será adicionado é representado pela variável <strong>{searchTerms}</strong> e não deve ser modificado.</p>
<p style="text-align:left;"><em>&#60;Url type="text/html" template="http://pliniotorres.wordpress.com/index.php?s={searchTerms}"/&#62;</em></p>
<p style="text-align:left;"><strong>Outro exemplo:</strong><br />
<em>&#60;Url type="text/html" template="http://www.seusite.com.br/busca.php?termo={searchTerms}"/&#62;</em></p>
<p style="text-align:left;">
<p style="text-align:left;">A tag <strong>image</strong> define os ícones que aparecerão na lista de provedores disponíveis na barra do navegador. Crie dois <a href="http://pt.wikipedia.org/wiki/Favicon" target="_blank"><strong>Favicons</strong></a>, um de tamanho 16X16 e outro 64X64 pixels, ambos em formato <strong>PNG</strong> e indique o caminho onde eles se encontram hospedados no seu site.</p>
<p style="text-align:left;"><em>&#60;Image height="64" width="64" type="image/png"&#62;http://pliniotorres.wordpress.com/imagens/icone64.png&#60;/Image&#62;<br />
&#60;Image height="16" width="16" type="image/png"&#62;</em><em>http://pliniotorres.wordpress.com/imagens</em><em>/icone16.png&#60;/Image&#62;</em></p>
<p style="text-align:left;">A tag <strong>Language</strong> define em qual linguagem o site de buscas se encontra e as tags <strong>OutputEncoding </strong>e <strong>InputEncoding </strong>definem<strong> </strong>em qual padrão o termo de busca deve ser introduzido no formulário e como o resultado da pesquisa deve ser mostrado para o internauta. Como eu citei anteriormente, o padrão aqui é UTF-8, mas devido a alguns problemas na busca de palavras acentuadas, mudei a encoding para <strong>iso-8859-1</strong> e o problema foi solucionado.</p>
<p style="text-align:left;"><em>&#60;Language&#62;pt-br&#60;/Language&#62;<br />
&#60;OutputEncoding&#62;iso-8859-1&#60;/OutputEncoding&#62;<br />
&#60;InputEncoding&#62;iso-8859-1&#60;/InputEncoding&#62;</em></p>
<p style="text-align:left;">Finalizando, fechamos o arquivo com a tag <em>&#60;/OpenSearchDescription&#62;.</em></p>
<p style="text-align:left;"><strong>3. Adicionando o Provedor de Buscas:</strong> Agora, basta disponibilizar um link onde o usuário possa adicionar o provedor de buscas criado ao seu navegador. Para isso, crie um link em um texto ou em uma figura, através do chamado JavaScript window.external.AddSearchProvider, para o arquivo XML hospedado em sua página.</p>
<p style="text-align:left;"><strong>Exemplo:</strong></p>
<p style="text-align:left;"><em>&#60;a href="javascript:void(window.external.AddSearchProvider<br />
('http://www.seusite.com.br/busca.xml'));"&#62;<br />
Adicionar este site a lista de Provedores de Busca!&#60;/a&#62;</em></p>
<p style="text-align:left;">Infelizmente, o Wordpress <strong>não permite o uso de JavaScript</strong> em suas páginas e esta é a única maneira de se adicionar o provedor. Então, para demonstrar o funcionamento do script, criei um link com o adicionador no meu site pessoal, confira:</p>
<p style="text-align:left;"><strong><a href="http://www.pliniotorres.com/busca.html" target="_blank">Clique aqui para adicionar o Blog do Plínio Torres a Lista de Provedores de Busca</a><a href="http://www.pliniotorres.com/busca.html" target="_blank"></a></strong></p>
<p style="text-align:left;"><a href="http://pliniotorres.files.wordpress.com/2008/06/busca2.gif"><img class="alignleft size-full wp-image-610" style="border:0 none;margin-left:10px;margin-right:10px;" src="http://pliniotorres.wordpress.com/files/2008/06/busca2.gif" alt="" width="260" height="187" /></a></p>
<p style="text-align:left;">Após adicionar o Provedor de Buscas, basta selecioná-lo e digitar o termo a ser pesquisado e pronto! Você tem acesso rápido e direto ao sistema de buscas do seu site.</p>
<p style="text-align:left;">O adicionador funcionou bem com o Firefox e ao Internet Explorer. Peço aos leitores de plantão que testem o recurso em outros navegadores, com o Opera.</p>
<p style="text-align:left;">Espero que este post seja útil, dúvidas nos comentários! :)</p>
]]></content:encoded>
</item>
<item>
<title><![CDATA[ColdFusion Feeds, BoxSyndication 2 Update]]></title>
<link>http://ipggi.wordpress.com/?p=71</link>
<pubDate>Mon, 31 Mar 2008 02:36:39 +0000</pubDate>
<dc:creator>Ben</dc:creator>
<guid>http://ipggi.wordpress.com/?p=71</guid>
<description><![CDATA[   
This entry is bit of self-cross promotion today for one of my projects, BoxSyndication 2.
BoxSyn]]></description>
<content:encoded><![CDATA[<p> <!--[if gte mso 9]&#38;gt;     Normal   0               false   false   false      EN-AU   X-NONE   X-NONE                                                     MicrosoftInternetExplorer4                                                   &#38;lt;![endif]--><!--[if gte mso 9]&#38;gt;                                                                                                                                                                                                                                                                                                                                                                                                                                &#38;lt;![endif]--> <!--  /* Font Definitions */  @font-face 	{font-family:Wingdings; 	panose-1:5 0 0 0 0 0 0 0 0 0; 	mso-font-charset:2; 	mso-generic-font-family:auto; 	mso-font-pitch:variable; 	mso-font-signature:0 268435456 0 0 -2147483648 0;} @font-face 	{font-family:"Cambria Math"; 	panose-1:2 4 5 3 5 4 6 3 2 4; 	mso-font-charset:0; 	mso-generic-font-family:roman; 	mso-font-pitch:variable; 	mso-font-signature:-1610611985 1107304683 0 0 159 0;} @font-face 	{font-family:Calibri; 	panose-1:2 15 5 2 2 2 4 3 2 4; 	mso-font-charset:0; 	mso-generic-font-family:swiss; 	mso-font-pitch:variable; 	mso-font-signature:-1610611985 1073750139 0 0 159 0;}  /* Style Definitions */  p.MsoNormal, li.MsoNormal, div.MsoNormal 	{mso-style-unhide:no; 	mso-style-qformat:yes; 	mso-style-parent:""; 	margin-top:0cm; 	margin-right:0cm; 	margin-bottom:10.0pt; 	margin-left:0cm; 	line-height:115%; 	mso-pagination:widow-orphan; 	font-size:11.0pt; 	font-family:"Calibri","sans-serif"; 	mso-ascii-font-family:Calibri; 	mso-ascii-theme-font:minor-latin; 	mso-fareast-font-family:Calibri; 	mso-fareast-theme-font:minor-latin; 	mso-hansi-font-family:Calibri; 	mso-hansi-theme-font:minor-latin; 	mso-bidi-font-family:"Times New Roman"; 	mso-bidi-theme-font:minor-bidi; 	mso-fareast-language:EN-US;} a:link, span.MsoHyperlink 	{mso-style-noshow:yes; 	mso-style-priority:99; 	color:blue; 	text-decoration:underline; 	text-underline:single;} a:visited, span.MsoHyperlinkFollowed 	{mso-style-noshow:yes; 	mso-style-priority:99; 	color:purple; 	mso-themecolor:followedhyperlink; 	text-decoration:underline; 	text-underline:single;} p.MsoListParagraph, li.MsoListParagraph, div.MsoListParagraph 	{mso-style-priority:34; 	mso-style-unhide:no; 	mso-style-qformat:yes; 	margin-top:0cm; 	margin-right:0cm; 	margin-bottom:10.0pt; 	margin-left:36.0pt; 	mso-add-space:auto; 	line-height:115%; 	mso-pagination:widow-orphan; 	font-size:11.0pt; 	font-family:"Calibri","sans-serif"; 	mso-ascii-font-family:Calibri; 	mso-ascii-theme-font:minor-latin; 	mso-fareast-font-family:Calibri; 	mso-fareast-theme-font:minor-latin; 	mso-hansi-font-family:Calibri; 	mso-hansi-theme-font:minor-latin; 	mso-bidi-font-family:"Times New Roman"; 	mso-bidi-theme-font:minor-bidi; 	mso-fareast-language:EN-US;} p.MsoListParagraphCxSpFirst, li.MsoListParagraphCxSpFirst, div.MsoListParagraphCxSpFirst 	{mso-style-priority:34; 	mso-style-unhide:no; 	mso-style-qformat:yes; 	mso-style-type:export-only; 	margin-top:0cm; 	margin-right:0cm; 	margin-bottom:0cm; 	margin-left:36.0pt; 	margin-bottom:.0001pt; 	mso-add-space:auto; 	line-height:115%; 	mso-pagination:widow-orphan; 	font-size:11.0pt; 	font-family:"Calibri","sans-serif"; 	mso-ascii-font-family:Calibri; 	mso-ascii-theme-font:minor-latin; 	mso-fareast-font-family:Calibri; 	mso-fareast-theme-font:minor-latin; 	mso-hansi-font-family:Calibri; 	mso-hansi-theme-font:minor-latin; 	mso-bidi-font-family:"Times New Roman"; 	mso-bidi-theme-font:minor-bidi; 	mso-fareast-language:EN-US;} p.MsoListParagraphCxSpMiddle, li.MsoListParagraphCxSpMiddle, div.MsoListParagraphCxSpMiddle 	{mso-style-priority:34; 	mso-style-unhide:no; 	mso-style-qformat:yes; 	mso-style-type:export-only; 	margin-top:0cm; 	margin-right:0cm; 	margin-bottom:0cm; 	margin-left:36.0pt; 	margin-bottom:.0001pt; 	mso-add-space:auto; 	line-height:115%; 	mso-pagination:widow-orphan; 	font-size:11.0pt; 	font-family:"Calibri","sans-serif"; 	mso-ascii-font-family:Calibri; 	mso-ascii-theme-font:minor-latin; 	mso-fareast-font-family:Calibri; 	mso-fareast-theme-font:minor-latin; 	mso-hansi-font-family:Calibri; 	mso-hansi-theme-font:minor-latin; 	mso-bidi-font-family:"Times New Roman"; 	mso-bidi-theme-font:minor-bidi; 	mso-fareast-language:EN-US;} p.MsoListParagraphCxSpLast, li.MsoListParagraphCxSpLast, div.MsoListParagraphCxSpLast 	{mso-style-priority:34; 	mso-style-unhide:no; 	mso-style-qformat:yes; 	mso-style-type:export-only; 	margin-top:0cm; 	margin-right:0cm; 	margin-bottom:10.0pt; 	margin-left:36.0pt; 	mso-add-space:auto; 	line-height:115%; 	mso-pagination:widow-orphan; 	font-size:11.0pt; 	font-family:"Calibri","sans-serif"; 	mso-ascii-font-family:Calibri; 	mso-ascii-theme-font:minor-latin; 	mso-fareast-font-family:Calibri; 	mso-fareast-theme-font:minor-latin; 	mso-hansi-font-family:Calibri; 	mso-hansi-theme-font:minor-latin; 	mso-bidi-font-family:"Times New Roman"; 	mso-bidi-theme-font:minor-bidi; 	mso-fareast-language:EN-US;} .MsoChpDefault 	{mso-style-type:export-only; 	mso-default-props:yes; 	mso-ascii-font-family:Calibri; 	mso-ascii-theme-font:minor-latin; 	mso-fareast-font-family:Calibri; 	mso-fareast-theme-font:minor-latin; 	mso-hansi-font-family:Calibri; 	mso-hansi-theme-font:minor-latin; 	mso-bidi-font-family:"Times New Roman"; 	mso-bidi-theme-font:minor-bidi; 	mso-fareast-language:EN-US;} .MsoPapDefault 	{mso-style-type:export-only; 	margin-bottom:10.0pt; 	line-height:115%;} @page Section1 	{size:595.3pt 841.9pt; 	margin:72.0pt 72.0pt 72.0pt 72.0pt; 	mso-header-margin:35.4pt; 	mso-footer-margin:35.4pt; 	mso-paper-source:0;} div.Section1 	{page:Section1;}  /* List Definitions */  @list l0 	{mso-list-id:1312751871; 	mso-list-type:hybrid; 	mso-list-template-ids:-883387316 201916417 201916419 201916421 201916417 201916419 201916421 201916417 201916419 201916421;} @list l0:level1 	{mso-level-number-format:bullet; 	mso-level-text:; 	mso-level-tab-stop:none; 	mso-level-number-position:left; 	text-indent:-18.0pt; 	font-family:Symbol;} ol 	{margin-bottom:0cm;} ul 	{margin-bottom:0cm;} --> <!--[if gte mso 10]&#38;gt;   /* Style Definitions */  table.MsoNormalTable 	{mso-style-name:"Table Normal"; 	mso-tstyle-rowband-size:0; 	mso-tstyle-colband-size:0; 	mso-style-noshow:yes; 	mso-style-priority:99; 	mso-style-qformat:yes; 	mso-style-parent:""; 	mso-padding-alt:0cm 5.4pt 0cm 5.4pt; 	mso-para-margin-top:0cm; 	mso-para-margin-right:0cm; 	mso-para-margin-bottom:10.0pt; 	mso-para-margin-left:0cm; 	line-height:115%; 	mso-pagination:widow-orphan; 	font-size:11.0pt; 	font-family:"Calibri","sans-serif"; 	mso-ascii-font-family:Calibri; 	mso-ascii-theme-font:minor-latin; 	mso-hansi-font-family:Calibri; 	mso-hansi-theme-font:minor-latin; 	mso-fareast-language:EN-US;}  &#38;lt;![endif]--></p>
<p class="MsoNormal">This entry is bit of self-cross promotion today for one of my projects, BoxSyndication 2.</p>
<p class="MsoNormal">BoxSyndication 2 is a popular custom tag for the ColdFusion Mark-up compatible range of web servers that enables you to generate web based, syndicated feeds. It allows developers create feeds that support the <a href="http://www.atomenabled.org/developers/syndication/atom-format-spec.php">Atom 1</a>; <a href="http://cyber.law.harvard.edu/rss/rss">RSS 2</a> and <a href="http://www.apple.com/itunes/store/podcaststechspecs.html">Apple iTunes Podcasting</a> namespace standards using query or structure datasets. In addition Box Syndication 2 also supports the <a href="http://backend.userland.com/creativeCommonsRssModule">Creative Commons License</a>, <a href="http://www.opensearch.org/">OpenSearch</a> and the <a href="http://dublincore.org/documents/dces/">Dublin Core Metadata</a> namespaces for both feed types.</p>
<p class="MsoNormal">With the new 1.1 version of this software that was released last week, BoxSyndication 2 introduces a new set of features that are not available elsewhere for ColdFusion and compatible servers</p>
<p class="MsoNormal"><span style="font-family:Symbol;"><span>·<span style="font-family:'Times New Roman';font-style:normal;font-variant:normal;font-weight:normal;font-size:7pt;line-height:normal;">         </span></span></span><!--[endif]-->Full Unicode UTF-8 support<br />
<span style="font-family:Symbol;"><span>·<span style="font-family:'Times New Roman';font-style:normal;font-variant:normal;font-weight:normal;font-size:7pt;line-height:normal;">         </span></span></span><!--[endif]-->High ASCII character to XML safe hexadecimal character conversion<br />
<span style="font-family:Symbol;"><span>·<span style="font-family:'Times New Roman';font-style:normal;font-variant:normal;font-weight:normal;font-size:7pt;line-height:normal;">         </span></span></span><!--[endif]-->Really Simple Syndication 2.0.10 namespace support<br />
<span style="font-family:Symbol;"><span>·<span style="font-family:'Times New Roman';font-style:normal;font-variant:normal;font-weight:normal;font-size:7pt;line-height:normal;">         </span></span></span><!--[endif]-->OpenSearch 1.1 namespace support<span style="font-family:Symbol;"><span><br />
·<span style="font-family:'Times New Roman';font-style:normal;font-variant:normal;font-weight:normal;font-size:7pt;line-height:normal;">         </span></span></span><!--[endif]-->Dynamic Atom element value encoding</p>
<p class="MsoNormal">In addition we now include a generous sample of 15 different feed examples which have all been created from scratch for this new release including an OpenSearch implementation. Plus there are extra tips and examples on automatic discovery for your feeds and as well as a guide on saving bandwidth by using HTTP conditional gets. If this all seems too much, the examples folder now has its own index cover page to allow for easy access and navigation to each item.</p>
<p class="MsoNormal">As always this new release is a free upgrade for all owners of both BoxSyndication and BoxSyndication 2. Otherwise it is a $35US purchase for an unlimited upgrade, single developer license. BoxSyndication 2 is compatible with Adobe ColdFusion 6.1,7,8; New Atlanta BlueDragon 6.2,7 and Railo Technologies Railo 2.</p>
<p class="MsoNormal"><a href="http://www.civbox.com/products-boxSyndication2.cfm">BoxSyndication 2 Website</a></p>
]]></content:encoded>
</item>
<item>
<title><![CDATA[Facilitando as pesquisas no acervo da BIM-UNIFEI ]]></title>
<link>http://escovandobits.wordpress.com/?p=51</link>
<pubDate>Thu, 13 Mar 2008 16:25:04 +0000</pubDate>
<dc:creator>Tiago Maluta</dc:creator>
<guid>http://escovandobits.wordpress.com/?p=51</guid>
<description><![CDATA[O Firefox permite uma série de personalizações interessantes, uma delas é a possibilidade de adi]]></description>
<content:encoded><![CDATA[<p align="justify">O <a href="http://www.getfirefox.com" target="_blank" title="Get Firefox!">Firefox</a> permite uma série de personalizações interessantes, uma delas é a possibilidade de adicionar mecanismos de buscas (<i>search plugin</i>) do lado da barra de endereços.</p>
<p align="center"><img src="http://escovandobits.wordpress.com/files/2008/03/bim.png" alt="Firefox Search Plugin" /></p>
<blockquote></blockquote>
<p>Esse <i>post</i> irá apresentar um exemplo para facilitar as pesquisas no acervo da <a href="http://www.bim.unifei.edu.br" target="_blank" title="Biblioteca Mauá">Biblioteca</a> da Universidade Federal de Itajubá.  Para instalar,  vá até a página de <b><a href="http://mycroft.mozdev.org/developer/devlist.html?email=maluta_tiago%40yahoo.com.br" title="Download BIM UNIFEI" target="_blank">&#60;&#60; download &#62;&#62;</a></b>  e clique no link <b>BIM UNIFEI</b>.</p>
<blockquote></blockquote>
<div align="justify"></div>
<p align="justify">O resto do post, é uma descrição dos problemas encontrados, então se você não tem interesse pare por aqui.</p>
<p><!--more--></p>
<p align="justify"> Caso esteja no GNU/Linux, o plugin será instalado no diretório padrão do seu usuário, normalmente definido em: ~/.mozilla/firefox/<font color="#ff0000">9ymqvxal</font>.default/searchplugins (a parte em vermelho provavelmente será diferente). O codigo-fonte encontra-se no arquivo bim-unifei.xml, um arquivo XML, fácil de entender. Já no Microsoft Windows: C:\Documents and Settings\<font color="#ff0000">&#60;usuario&#62;</font>\Dados de aplicativos\Mozilla\Firefox\Profiles\<font color="#ff0000">&#60;sowsjqep&#62;</font>.default\searchplugin. Caso você não encontre nenhum desses diretórios procure pelo nome do arquivo (bim-unifei.xml). Se você quiser testar, brincar com o script: edite, salve e reinicie o Firefox, se não aparecer nada na barra é porque há algum erro, então é preciso abrir o arquivo (pelo Firefox mesmo) e ver a saída.</p>
<p><br></p>
<p align="left"><b>Bugs conhecidos</b></p>
<ul>
<li>
<div align="justify"><strike>Após fazer algumas buscas, percebe-se que ele oculta o texto dos <a href="http://www.echoecho.com/htmlforms10.htm" target="_blank">radiobutton</a> e do <a href="http://www.echoecho.com/htmlforms12.htm" target="_blank">button</a> do formulário HTML.</strike>  <font color="#ff0000">(Agradecimentos: <a href="http://www.fabioricotta.com/" target="_blank">Fabio Ricotta</a>, que viu que eu não estava passando todos os parâmetros no arquivo XML)</font></div>
</li>
<li>
<div align="justify">A página da BIM funciona com frames, ainda não descobri como carregar esses frames no resultado.</div>
</li>
</ul>
<blockquote></blockquote>
<p><br></p>
<p align="justify">Basicamente estou utilizando a documentação do <a href="http://www.opensearch.org" target="_blank">OpenSearch</a> para estudar. Se você tem alguma dica ou sugestão, não exite em comentar aqui no blog ou enviar fax, carta, e-mail, etc; Ainda considero uma versão de desenvolvimento, pois faltam algumas funcionalidades que acredito serem importantes,  de qualquer forma estou compartilhando para quem quiser. O código-fonte é GPL, então não se preocupe com restrições a sua liberdade em executar, estudar e adaptar, redistribuir, distribuir modificações.</p>
<p align="justify"><b>Propaganda ;-)</b></p>
<p align="justify">Também há como fazer as buscas por livros na Unicamp, com search plugin <a href="http://mycroft.mozdev.org/download.html?name=SBU+UNICAMP&#38;sherlock=yes&#38;opensearch=yes&#38;submitform=Search" target="_blank">SBU UNICAMP</a>. (adicionado pelo comentário do capi)</p>
<p align="center">O repositório (Mycroft) do <i>Search Plugin</i> BIM UNIFEI é projeto da comunidade</p>
<p align="center"> <a href="http://www.mozdev.org" title="mozdev.org - free project hosting for the mozilla community"><img src="http://www.mozdev.org/sharedimages/mozdev37.png" alt="mozdev.org" border="0" height="37" width="125" /></a></p>
]]></content:encoded>
</item>
<item>
<title><![CDATA[Including OpenSearch on your website for Firefox and IE7]]></title>
<link>http://banditoplus.wordpress.com/?p=8</link>
<pubDate>Wed, 20 Feb 2008 20:59:44 +0000</pubDate>
<dc:creator>banditoplus</dc:creator>
<guid>http://banditoplus.wordpress.com/?p=8</guid>
<description><![CDATA[Firefox and Internet Explorer 7 can integrate search engines directly in the browser. To create your]]></description>
<content:encoded><![CDATA[<p>Firefox and Internet Explorer 7 can integrate search engines directly in the browser. To create your own search is fairly simple. Both browsers use OpenSearch, though Firefox has a couple of extra features. The standard is described at the <a href="http://developer.mozilla.org/en/docs/Creating_OpenSearch_plugins_for_Firefox" title="mozilla developer center" target="_blank">mozilla developer center</a>.</p>
<p>To offer a search plug-in to your page visitors, you simply have to include a reference to your OpenSearch xml file in the head of your html. There are various methdods to create a file, but here I will only show the most basic.</p>
<p><b>Creating the XML  </b></p>
<p>OK, let's say your search page has following URL: http://www.your-page.org/search.aspx?q=<i>any+search+query</i></p>
<p>Your OpenSearch file would then look something like this:</p>
<p><code>&#60;OpenSearchDescription xmlns="http://a9.com/-/spec/opensearch/1.1/" xmlns:moz="http://www.mozilla.org/2006/browser/search/"&#62;<br />
&#60;ShortName&#62;your-page.org&#60;/ShortName&#62;<br />
&#60;Description&#62;Your exciting descriptive text&#60;/Description&#62;<br />
&#60;Image height="16" width="16" type="image/x-icon"&#62;</code><code>http://www.your-page.org/favicon.ico</code><code>&#60;/Image&#62;<br />
&#60;Url type="text/html" method="get" template="http://www.your-page.org/search.aspx?q={searchTerms}"/&#62;<br />
&#60;/OpenSearchDescription&#62;</code></p>
<p>Don't forget the namespace, otherwise there will be errors when you try and include the search in Firefox.</p>
<p>In this example the icon used for the search would be your favicon, but you could just as well reference any other icon. Don't use larger icons, stick with 16x16. Using any other size will muddle the list in Firefox.</p>
<p>You can also embed the icon directly in the xml usinge base 64 encoding. You can easily encode an image at <a href="http://software.hixie.ch/utilities/cgi/data/data" title="URI kitchen" target="_blank">The data: URI kitchen</a>. Then include the image like this: <code>&#60;Image height="16" width="16"&#62;data:image/x-icon,%00 ...&#60;/Image&#62;</code></p>
<p>The placeholder {searchTerms} will be replaced by user input in the search field.</p>
<p><b>Referenceing OpenSearch</b></p>
<p>All you need to do now is to reference the xml file in the head of your html.</p>
<p><code>&#60;link rel="search" type="application/opensearchdescription+xml" href="http://now-in-org.preview.complexx.com/opensearch.xml" title="preview now-in.org" /&#62;</code></p>
<p>That's it. Now anybody can include your page in their browser search.</p>
]]></content:encoded>
</item>
<item>
<title><![CDATA[OpenSearch del Menéame (compatible con Firefox e IE)]]></title>
<link>http://blog.meneame.net/2007/12/19/opensearch-del-meneame-compatible-con-firefox-e-ie/</link>
<pubDate>Wed, 19 Dec 2007 00:45:25 +0000</pubDate>
<dc:creator>gallir</dc:creator>
<guid>http://blog.meneame.net/2007/12/19/opensearch-del-meneame-compatible-con-firefox-e-ie/</guid>
<description><![CDATA[UnoDeTantos nos sugirió en un comentario que pongamos el plugin OpenSearch en el Menéame. Una hora]]></description>
<content:encoded><![CDATA[<p><a href="http://meneame.net/user/UnoDeTantos">UnoDeTantos</a> nos <a href="http://meneame.net/story/tomar-saco-zend-lucene-meneame-cambia-buscador#comment-15">sugirió en un comentario</a> que pongamos el <a href="http://developer.mozilla.org/en/docs/Creating_OpenSearch_plugins_for_Firefox">plugin OpenSearch</a> en el Menéame. Una hora después <a href="http://meneame.net/story/tomar-saco-zend-lucene-meneame-cambia-buscador#comment-19">estaba funcionando</a> :-)</p>
<p>El plugin sirve para agregar el buscador del Menéame a la barra de búsquedas del Firefox2 o IE7. Como es un estándar abierto --y muy simple-- supongo que lo adoptarán los demás navegadores.</p>
<p>Para activarlo basta con visitar el Menéame, desplegar el menú y "agregar" el plugin del Menéame.</p>
<p><a href="http://meneame.wordpress.com/files/2007/12/opensearch2.png" title="open search menéame"></a></p>
<p style="text-align:center;"><a href="http://meneame.wordpress.com/files/2007/12/opensearch2.png" title="open search menéame"><img src="http://meneame.wordpress.com/files/2007/12/opensearch2.png" alt="open search menéame" /></a></p>
<p>Una vez que está en la lista se lo puede seleccionar para buscar en el Menéame.</p>
<p><a href="http://meneame.wordpress.com/files/2007/12/opensearch3.png" title="OpenSearch del Menéame (compatible con Firefox e IE)"></a></p>
<p style="text-align:center;"><a href="http://meneame.wordpress.com/files/2007/12/opensearch3.png" title="OpenSearch del Menéame (compatible con Firefox e IE)"><img src="http://meneame.wordpress.com/files/2007/12/opensearch3.png" alt="OpenSearch del Menéame (compatible con Firefox e IE)" /></a></p>
<p>Sí, pijaditas, pero no cuesta nada hacerlas y quizás a algunos les sea útil (aunque sea para <a href="http://svn.meneame.net/index.cgi?rev=1111&#38;view=rev">mirar el código</a> y usarlo de ejemplo) :-)</p>
]]></content:encoded>
</item>
<item>
<title><![CDATA[Aggiungere motori di ricerca alla casella di ricerca di firefox]]></title>
<link>http://ildiscepolo.wordpress.com/2007/06/18/aggiungere-motori-di-ricerca-alla-casella-di-ricerca-di-firefox/</link>
<pubDate>Mon, 18 Jun 2007 10:19:03 +0000</pubDate>
<dc:creator>ildiscepolo</dc:creator>
<guid>http://ildiscepolo.wordpress.com/2007/06/18/aggiungere-motori-di-ricerca-alla-casella-di-ricerca-di-firefox/</guid>
<description><![CDATA[Come si fa??
Semplice, tanto per cambiare tocca scaricarsi un estensione.
Come si chiama?
OpenSearch]]></description>
<content:encoded><![CDATA[<p>Come si fa??<br />
Semplice, tanto per cambiare tocca scaricarsi un estensione.<br />
Come si chiama?<br />
OpenSearchFox<br />
Dove si scarica???<br />
<a href="https://addons.mozilla.org/en-US/firefox/addon/3698">https://addons.mozilla.org/en-US/firefox/addon/3698</a></p>
<p>Come funziona??<br />
Basta andare sul sito desiderato, tipo you tube.<br />
Cliccare con il destro sopra la casella di ricerca e scegliere:<br />
Add OpenSearch plugin.</p>
<p>Settare i vari parametri (titolo, descrizione e icona).<br />
Fine.</p>
]]></content:encoded>
</item>

</channel>
</rss>
