Take the 2-minute tour ×
Web Applications Stack Exchange is a question and answer site for power users of web applications. It's 100% free, no registration required.

I noticed that there is no option to upload .zip files to wordpress.com. Lots of blog services give permission to their users for this. I'm a programmer and a lot of my blogs contain code samples. How can I attach my codes to my blogs?

share|improve this question

migrated from superuser.com Aug 2 '11 at 4:49

This question came from our site for computer enthusiasts and power users.

2  
Use a 3rd party service like gisthub or pastebin. There are plenty to choose from. –  Ciaran Aug 2 '11 at 5:02
    
Thank you Ciaran. –  Alireza Noori Aug 3 '11 at 0:38
add comment

1 Answer 1

up vote 3 down vote accepted

You can use a free account at http://box.net or Ubuntu One to upload and share .zip files, but unless you have a LOT of code that you want to share, you're probably better off embedding your code samples into your posts.

Wordpress now supports posting source code on blogs hosted through their site:

While WordPress.com doesn’t allow you to use potentially dangerous code on your blog, there is a way to post source code for viewing. We have created a shortcode you can wrap around source code that preserves its formatting and even provides syntax highlighting for certain languages [...]

share|improve this answer
    
Thanks. Sometimes it's just needed to post the entire project. I previously used dropbox but I was looking for another solution. –  Alireza Noori Aug 3 '11 at 0:38
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.