...

View Full Version : Firefox Extensions



stansky
08-16-2005, 04:35 PM
I found this link..http://www.borngeek.com/firefox/tutorial/part_06.html

I read through the tutorial but i need help on this part(link)
I googled it but no help there so i am asking you guys.

What is unpacking? How do i upack wih winzip?

How do i rename .zip files to .xpi?

In winzip, after i edit an image the path s blank. How do make the path /chrome/ again?

Most important. How do i assemble all the file intoon .xpi file in winzip?

Sorry for posting it in javascript section but i dont know what xpi is under. But older versions of fox install estensions using javascript so i guess its ok.

martin_narg
08-16-2005, 07:41 PM
This is what winzip is and does:
http://kb.iu.edu/data/abzb.html

This is where you can download winzip from:
http://www.winzip.com/downwz.htm

This is an excellent guide to creating firefox extensions:
http://roachfiend.com/archives/2004/12/08/how-to-create-firefox-extensions/

Hope this helps

m_n

stansky
08-17-2005, 04:59 AM
It still does not answer this...

What is unpacking? How do i upack wih winzip?

How do i rename .zip files to .xpi?

In winzip, after i edit an image the path s blank. How do make the path /chrome/ again?

Most important. How do i assemble all the file intoon .xpi file in winzip?

martin_narg
08-17-2005, 02:00 PM
Please read all the information, the top two guides explain what winzip is and does - there is plenty of documentation available.

The third guide even has a section on how to quickly build xpi files - with a script that does it all for you!!
http://roachfiend.com/archives/2004/12/08/how-to-create-firefox-extensions/#build

Here's a brief few words tho that hopefully will help:
Winzip
Winzip (http://www.winzip.com) is a tool that allows you to grab a load of files, compress them and save them all as one file (also known as an archive). Someone else with winzip installed can take this archive file and unzip it (also known as unpacking or extracting). When they unpack this archive file, the file and folder structures remain from when the archive was originally created. That means that all folder structures are replicated. Once winzip is installed, your right-click menu (if a windows user) will be updated with new winzip controls and commands. A fuller explanation of this process is available through the winzip help files.

This also answers why, when unpacking your archive file, you are not extracting the contents maintaining the same folder structures. Try right-clicking the archive file and choosing the "Winzip --> Extract to here" option.

XPI
Building your XPI file is covered by the link from the tutorial at the top of this posting. In that tutorial the author has 7-zip installed - it works in the same way as winzip - but it would be good to install it and then you can use the exact same code as the author for a quick xpi builder.

Hope all this helps

m_n



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum