Autoupdating extensiond

38 views
Skip to first unread message

Juan Antonio Carrillo Navarro

unread,
Apr 23, 2012, 1:22:47 PM4/23/12
to Chromium-extensions
Hi, I am developing an extension for Chrome and I am having a problem.

Here is my "ChromeUpdates.xml" file:

<?xml version='1.0' encoding='UTF-8'?>
<gupdate xmlns='http://www.google.com/update2/response'
protocol='2.0'>
<app appid='hjfakkpgpfbdpbibcmghdnpjcpmlnpbm'>
<updatecheck codebase='http://dl.dropbox.com/u/XXXXXXXX/
PicasaWebForGooglePlus/PicasaWebForGooglePlus.crx' version='1.0.2' />
</app>
</gupdate>

And here is my "manifest.json" file:

{
"name": "PicasaWeb for Google+",
"version": "1.0.2",
"background_page": "background.html",
"options_page": "opciones.html",
"description": "Google+",
"icons": { "16": "icono16.png","48": "icono48.png","128":
"icono128.png" },
"browser_action": {"default_icon": "icono128.png"},
"content_scripts": [{ "matches": ["http://*/*"], "js":
["jquery.min.js"] }],
"permissions": ["tabs", "http://*/", "https://plus.google.com/" ],
"update_url": "http://dl.dropbox.com/u/XXXXXXXX/ChromeUpdates.xml"
}

I can not get working that, i dont know what is the problem.
The <app appid='hjfakkpgpfbdpbibcmghdnpjcpmlnpbm'> is the code that
Chrome return me when i load my extension...

Could anybody help my with that?

Thanks in advanced and sorry, my english isn`t good.

PhistucK

unread,
Apr 25, 2012, 2:09:48 AM4/25/12
to Juan Antonio Carrillo Navarro, Chromium-extensions
I have not worked with DropBox, but does it show a page when you go to that URL, or does it simply show the "Save as..." dialog of the browser (try it in incognito mode, perhaps the behavior is different when you are not signed in to DropBox, like the extension updater)?
If it shows a page, that must be the problem.


PhistucK




--
You received this message because you are subscribed to the Google Groups "Chromium-extensions" group.
To post to this group, send email to chromium-...@chromium.org.
To unsubscribe from this group, send email to chromium-extens...@chromium.org.
For more options, visit this group at http://groups.google.com/a/chromium.org/group/chromium-extensions/?hl=en.


hummer4wd

unread,
Apr 25, 2012, 4:38:38 AM4/25/12
to Chromium-extensions
Insert updated version in corresponding tag
 <updatecheck codebase='http://dl.dropbox.com/u/XXXXXXXX/
PicasaWebForGooglePlus/PicasaWebForGooglePlus.crx' version='1.0.2' />

and Update MIME type at web server end for XML based file.

On Apr 25, 11:09 am, PhistucK <phist...@gmail.com> wrote:
> I have not worked with DropBox, but does it show a page when you go to that
> URL, or does it simply show the "Save as..." dialog of the browser (try it
> in incognito mode, perhaps the behavior is different when you are not
> signed in to DropBox, like the extension updater)?
> If it shows a page, that must be the problem.
>
> ☆*PhistucK*
> > To post to this group, send email to chromium-extensi...@chromium.org.
> > To unsubscribe from this group, send email to
> > chromium-extensions+unsubscr...@chromium.org.

hummer4wd

unread,
Apr 25, 2012, 4:42:04 AM4/25/12
to Chromium-extensions
Insert updated version in corresponding tag
 <updatecheck codebase='http://dl.dropbox.com/u/XXXXXXXX/
PicasaWebForGooglePlus/PicasaWebForGooglePlus.crx' version='1.0.2' />

and Update MIME type at web server end for XML an CRX file extension.
Otherwise web server won't allow access to that these files.

Juan Antonio Carrillo Navarro

unread,
Apr 25, 2012, 3:29:19 PM4/25/12
to Chromium-extensions
I can´t understand you hummer4wd

anup kanaskar

unread,
Apr 27, 2012, 2:02:19 AM4/27/12
to Juan Antonio Carrillo Navarro, Chromium-extensions
1.The version mentioned in "manifest.json" i.e.'1.0.2'  and   ChromeUpdates.xml i.e .  1.0.2 should not be same and  ChromeUpdates.xml   must contain incremented version.
2. On a webserver where u have kept ChromeUpdates.xml and new .crx file, In webservers  MIME type add  XML an CRX file type extension.
Otherwise web server won't allow access to that these files.
Ex. If application is hosted on IIS 7.5 then Add these MIME type in web server setting.

Simple test :
Try to access  http://dl.dropbox.com/u/XXXXXXXX%20PicasaWebForGooglePlus/PicasaWebForGooglePlus.crx (with correct URL) then It must ask for download.


To post to this group, send email to chromium-...@chromium.org.
To unsubscribe from this group, send email to chromium-extens...@chromium.org.



--
Anup Kanaskar

Juan Antonio Carrillo Navarro

unread,
May 1, 2012, 3:25:30 AM5/1/12
to Chromium-extensions
Yes kanaskar Of course.
The piece of code that i have paste is the online file not the local
file.

The example ilustrate that i specified the same version in the XML
file and the Crx file to download.

Thanks

On 27 abr, 08:02, anup kanaskar <anupkanas...@gmail.com> wrote:
> 1.The version mentioned in "manifest.json" i.e.'1.0.2'  and
> ChromeUpdates.xml i.e .  1.0.2 should not be same and  ChromeUpdates.xml
> must contain incremented version.
> 2. On a webserver where u have kept ChromeUpdates.xml and new .crx file, In
> webservers  MIME type add  XML an CRX file type extension.
> Otherwise web server won't allow access to that these files.
> Ex. If application is hosted on IIS 7.5 then Add these MIME type in web
> server setting.
>
> Simple test :
> Try to accesshttp://dl.dropbox.com/u/XXXXXXXX%20PicasaWebForGooglePlus/PicasaWebFo...
> Anup Kanaskar
Reply all
Reply to author
Forward
0 new messages