General discussion on installation and configuration of SOGo

Text archives Help


Re: [SOGo] Thunderbird Fetching Wrong Certificates After Update to1.3.4


Chronological Thread 
  • From: Asai < >
  • To:
  • Subject: Re: [SOGo] Thunderbird Fetching Wrong Certificates After Update to1.3.4
  • Date: Tue, 04 Jan 2011 08:48:27 -0700
  • Organization: Global Change Multi-Media

I'm using SOGo integrator for Windows 3.104 along with the corresponding Connector and Lightning.

Here's extensions.rdf:
<?xml version="1.0"?>
<!DOCTYPE RDF>
<RDF xmlns="http://www.w3.org/1999/02/22-rdf-syntax-ns#";
xmlns:isi="http://inverse.ca/sogo-integrator/";
xmlns:em="http://www.mozilla.org/2004/em-rdf#";
xmlns:NC="http://home.netscape.com/NC-rdf#";>
<Seq about="http://inverse.ca/sogo-integrator/extensions";
isi:updateURL="http://globlchangemultimedia.net/sogoscripts/updates.php?plugin=%ITEM_ID%&amp;version=%ITEM_VERSION%&amp;platform=%PLATFORM%";>
<li>
<Description

em:id=" "
em:name="SOGo Integrator"/>
</li>
<li>
<Description

em:id=" "
em:name="SOGo Connector"/>
</li>
</Seq>
</RDF>

Here's updates.php:
<?php


/* This script handles the automatic propagation of extensions pertaining to a
SOGo site */
$plugins
= array(
" "
=> array( "application" => "thunderbird",
"version" => "0.97",
"filename" => "sogo-connector-0.97.xpi" ),

" "
=> array( "application" => "thunderbird",
"version" => "0.97",
"filename" => "sogo-integrator-0.97-gcmm.xpi" ),
"{3550f703-e582-4d05-9a08-453d09bdfdc6}"
=> array( "application" => "thunderbird",
"version" => "0.9.7",
"filename" => "lightning-0.9.7.xpi" ));

$applications
= array( "thunderbird" => "<em:id>{3550f703-e582-4d05-9a08-453d09bdfdc6}</em:id>
<em:minVersion>1.5</em:minVersion>
<em:maxVersion>2.0.*</em:maxVersion>",
"firefox" => "<em:id>{ec8030f7-c20a-464f-9b0e-13a3a9e97384}</em:id>
<em:minVersion>1.5</em:minVersion>
<em:maxVersion>2.0.*</em:maxVersion>" );

$pluginname = $HTTP_GET_VARS["plugin"];
$plugin =& $plugins[$pluginname];
$application =& $applications[$plugin["application"]];

if ( $plugin ) {
$platform = $HTTP_GET_VARS["platform"];
if ( $platform
&& file_exists( $platform . "/" . $plugin["filename"] ) ) {
$plugin["filename"] = $platform . "/" . $plugin["filename"];
}
elseif ( !file_exists( $plugin["filename"] ) ) {
$plugin = false;
}
}

if ( $plugin ) {
header("Content-type: text/xml; charset=utf-8");
echo ('<?xml version="1.0"?>' . "\n");
?>
<!DOCTYPE RDF>
<RDF xmlns="http://www.w3.org/1999/02/22-rdf-syntax-ns#";
xmlns:em="http://www.mozilla.org/2004/em-rdf#";>
<Description about="urn:mozilla:extension:<?= $pluginname ?>">
<em:updates>
<Seq>
<li>
<Description>
<em:version><?= $plugin["version"] ?></em:version>
<em:targetApplication>
<Description><?= $applications[$plugin["application"]] ?>
<em:updateLink>http://globalchangemultimedia.net/sogoscripts<?= $plugin["filename"] ?></em:updateLink>
</Description>
</em:targetApplication>
</Description>
</li>
</Seq>
</em:updates>
</Description>
</RDF>
<?php
} else {
header("Content-type: text/plain; charset=utf-8", true, 404);
echo( 'Plugin not found' );
}


--asai


On 12/31/2010 11:23 AM, Ludovic Marcotte wrote:
If you use SOGo Integrator, provide your extension.rdf file and your
updates.php.



Archive powered by MHonArc 2.6.16.

Top of page