-
Comments
- Emmet Brown und Bullshit-Science-Journalismus | Kontextschmiede on Satoshi Kanazawa cannot think.
- @Silona on How Ning made me a chump and how you can avoid it
- mattkatz on How Ning made me a chump and how you can avoid it
- mattkatz on How Ning made me a chump and how you can avoid it
- mattkatz on Satoshi Kanazawa cannot think.
Linkies.- Wu Tang vs The BeatlesAaaaaaaaan DOWNLOAD!Enter The Magical Mystery Chambers: Wu Tang acapellas over beats made with samples of Beatles songs. Produced by Tom Caruana. (via Brian Lam) […]
- RCA Airnergy Charges Gadgets with Nothing But Wifi Signals [Chargers]GizmodoIf this works, it is brilliant. First plausible use case for wireless charging.Shared by darrick Mmm, wireless electricity is so sexy! Forget PowerMats and wireless charging and the like, because the Airnergy wi-fi signal harvester is my new front runner for the future of gadget charging. It's not exactly new tech, as ohGizmo notes, but it's the fi […]
- Crash StateGeoff makes my brain bigger.The L.A. Times reports that, "Over the next six months, a budget-induced employee retirement program will shrink [L.A.'s] civilian workforce—a group that excludes the Department of Water and Power—by at least 9%. Some policymakers have only begun grasping the magnitude of the exodus of librarians, building inspectors, tr […]
- Wu Tang vs The Beatles
Books
How to package two firefox extensions at once
First, background on why you might need to do this. Feel free to skip down to the technical details.
I’m working on the AddArt firefox extension with some folks at the Eyebeam labs. Our extension replaces advertisements with artwork. To do this, we piggyback on the functionality of the excellent Ad Block Plus extension. We benignly inject code into ABP so that when it blocks an advertisement our code kicks in and puts in art. Our code is useless without ABP, so we have to make sure that when folks install us, they also get ABP. We wanted to save folks time and give them a one click install of our extension and the extension we depend on.
The details:
I didn’t find the simple instructions provided on Multiple Item Packaging to be simple enough, so here’s the skinny.
It is not tricky unless you are overcomplicating it. Firefox or Thunderbird or whatever just uses the install.rdf to note that this is a multiple item install xpi file and then installs every package inside of the xpi.
Here’s what our install.rdf looks like. Feel free to sub out the appropriate min and max versions for your needs and change the id and name values. Otherwise you don’t need to actually do anything.
<?xml version=”1.0″?>
<RDF:RDF xmlns:em=”http://www.mozilla.org/2004/em-rdf#”
xmlns:NC=”http://home.netscape.com/NC-rdf#”
xmlns:RDF=”http://www.w3.org/1999/02/22-rdf-syntax-ns#”>
<RDF:Description RDF:about=”rdf:#$hFzg+”
em:id=”{ec8030f7-c20a-464f-9b0e-13a3a9e97384}”
em:minVersion=”2.0″
em:maxVersion=”3.1″ />
<RDF:Description RDF:about=”urn:mozilla:install-manifest”
em:id=”blahblah@add-art.org”
em:name=”add-artpackage”>
<em:targetApplication RDF:resource=”rdf:#$hFzg+”/>
<em:type>32</em:type>
</RDF:Description>
</RDF:RDF>