Nov 13 2008

Microsoft Office 2007 Files Downloading as .Zip Files

Tag: News, Plugins, Widgets, Wordpress @ 10:48 pm

Here is a new post from PHP-Princess.net:

A colleague IMed me earlier today. She was wondering why her .xlsx document was downloading as a strange .zip file. She had uploaded it into the content management system correctly, but when she tried to test it out, the file looked corrupted. Albert did some digging around and figured that the Microsoft Office 2007 files extensions were not recognized by Apache. So downloading files like .xlsx, .docx, .pptx, etc. will translate to file .zip instead. I did some further browser testing and noticed this problem only appears in IE browsers. It works perfectly in Firefox, Chrome, and Safari. To fix this problem, you would need to add the extensions to the Apache config file. Step 1: Make sure you back up your configuration file (httpd.conf in Apache) or (apache2.conf in Apache2) Step 2: Search for the section with the AddType keywords. Step 3: Add the following lines: # MIME type fix AddType application/vnd.openxmlformats-officedocument.spreadsheetml.sheet .xlsx AddType application/vnd.openxmlformats-officedocument.wordprocessingml.document .docx AddType application/vnd.openxmlformats-officedocument.presentationml.slideshow .pptx If you load other Microsoft Office 2007 files on your Apache web server, you may want to add additional file extensions . Thanks for figuring it out Albert ! That solved the mystery behind two work tickets today. Sources: Albertech.net , MS Office 2007 File Extensions at WebmasterWorld

Continue here: Microsoft Office 2007 Files Downloading as .Zip Files

SHARETHIS.addEntry({ title: “Estimated Click Fraud Rate Remains At 16%, Says Click Forensics”, url: “http://www.affiliate-marketing-plugins.com/news/estimated-click-fraud-rate-remains-at-16-says-click-forensics/27″ });


Sphere: Related Content

Sphere: Related Content


Jul 01 2008

Brandon Fuller’s Now Playing Plugin

Tag: Widgets, WordpressThe Affiliate Marketeer @ 11:57 pm

Purely by accident I came across Brandon Fuller’s Now Playing Plugin because I wanted to output my current music playlist on my personal blog.

It turns out (by chance) that Brandon had the foresight to include twitter, facebook, itunes affiliate scheme (administered via TradeDoubler in the UK, LinkShare in the USA) and Amazon Associates functionality in the plugin amongst other things.

Combine this with Josh Blake’s nowplaying wp plugin for wordpress and you begin to have a fairly powerful active affiliate marketing plugin system for music tracks!

Brandon also has other PHP example code on his site so, if you’re a developer you can actually adapt the xml feeds the plugin produces to suit any need you have!

To be honest, there are some improvements I personally would like made to the plugin such as the image output on facebook actually working, and the possibility to add in affiliate information into the facebook app.

I’d also like Josh’s widget to be more of a plugin with more options for configuration of output – who knows I may even code this up myself!

Overall, a nifty little find!

You can get Brandon’s plugin here: http://brandon.fuller.name/archives/hacks/nowplaying/

There are versions for iTunes for Mac OS X | Winamp | Windows Media Player | Yahoo! Music Engine and please remember that it is shareware, so if you do use it, like it and ultimately if it makes you money, then please don’t forget to pay the guy his $15

You can get Josh’s wordpress plugin here: http://www.joshblake.net/projects/nowplayingwp/

Sphere: Related Content