archive

Display Wordpress Archives one category at a time?

I am almost done with my humble attempt at a custom CMS using Wordpress. The only difficulty I have is making a page display the archive for only one category (and it's children). Anyone has an idea? Thanks a lot! Regis ...

Organizing hundreds of personal and example projects?

How do you organize projects when you have hundreds of them? Not layout within a project, but layout of the project root directories. I'm consolidating a decade+ of personal and example projects that are scattered all over the disks on several systems, and am looking for some organizational method that will let me keep the dozen or so a...

PHP Blog, need to make a good looking archives section.

So! Basically I have a database with a load of blog posts, these are all sorted by a UNIX timestamp, and what I need is a way to make this code spit out headers when appropriate, so that it will output something like this: 2008 November Title 1 - Date Goes Here Title 2 - Date Goes Here December Title 3 - Date Goes Here 2009 Januar...

archive-like format using XML

Hi all, I'm generating some code using XSLT but the generated sources should be localized in a set of distinct files. Is there a tool/format (based on XML ?) that could be used to store the files in a jar/ar/tar-like format . I'm thinking of something like this: <?xml version="1.0"?> <archive> <file path="test/Test01.java" content-type=...

Replace jar file inside a ear using Emacs archive-mode

Hi, I just learned emacs archive-mode can let me edit files such as web.xml in a ear easily but I wonder if I have an updated jar file, can I use emacs to replace the old jar in that ear using command-line based emacs? (I have to ssh into servers using putty). Thanks a lot, Dean ...

Are there any unshar utility for windows?

From time to time I need to extract the contents of a shar file. And I need to wait to have access to a *nix box to obtain the files. And I was wondering if there is a unshar utility for windows. I can install the cygwin package but I think that is to much for only extract files from time to time. ...

Decompression and extraction of files from streaming archive on the fly

I'm writing a browser plugin, similiar to Flash and Java in that it starts downloading a file (.jar or .swf) as soon as it gets displayed. Java waits (I believe) until the entire jar files is loaded, but Flash does not. I want the same ability, but with a compressed archive file. I would like to access files in the archive as soon as the...

Archive Builder PHP

Before i start id like to say ive posted this question as more of a discussion rather than Problem Question. In my Database i have news posts lets say with 3 columns (Id, title, date). Wher Id and title are self Explanitory the date is stored in mktime() values, in other words the number of seconds passed since 1 January 1970. Now what...

Manipulate an Archive in memory with PHP (without creating a temporary file on disk)

Hi, I am trying to generate an archive on-the-fly in PHP and send it to the user immediately (without saving it). I figured that there would be no need to create a file on disk as the data I'm sending isn't persistent anyway, however, upon searching the web, I couldn't find out how. I also don't care about the file format. So, the ques...

TAR encode/decode library for iPhone (ideally cocoa)

Does anyone know of any library/code that will enable me to encode and decode .tar formatted data - that I can use in my iPhone project (preferably cocoa) Thanks in advance Craig UPDATE: I've taken a look at the suggested libraries and come to the conclusion that they are making waaaay to much of the problem - so I'm developing the co...

Old Version of SuperWaba

Hello, I was searching for the old versions of SuperWaba, but i can't found anyone on internet, because the newer versions of SuperWaba are commercial, but the old versions are free, then if someone have the SuperWaba SDK free version on archive, please post it here. Thanks! ...

C/C++ Packing and Compression

Hey guys, I'm working on a commercial project that requires a couple of files to be bundled (packed) into an archive and then compressed. Right now we have zlib in our utility library, but it doesn't look like zlib has the functionality to compress multiple files into one archive. Anyone know of free libraries I'd be able to use for thi...

Archive/Unarchive UIWebView?

Hello I would like to save the current state of an UIWebView to disk in IPhone SDK. I have a UIWebView that loads a website with lots of javascript , I would like to save the UIWebView state, maintaining the state of the javscript variables, http cookies, etc at that moment. Then at a later time, I would like to unarchive the UIWebvie...

Actionscript 3: Solution for reading TAR archives?

Hi! Is there an as3 solution for extracting file content from uncompressed tar files around? / Jonas ...

Php: How to handle file processing and download operations in a single script?

Hi! In a single script, I need to do the following: create a zip out of files in a directory force the download of the newly create zip My problem is that whenever I try to do this in a single script, the downloaded zip is corrupted (filesize is ok though). If I trig the processes in two separate script calls, the downloaded zip is ...

C# SharpZipLib strips irrelevant directory names

I am using SharpZipLib to zip up a folder with subdirectories and this is working fine. What I would like to do is strip off the parents directories of the first child file so the whole structure that is irrelevant isn't carried forth... Example: c:\a\b\c\d\e\f\g\h\file1.txt c:\a\b\c\d\e\f\g\h\file2.txt c:\a\b\c\d\e\f\g\h\i\file1.txt...

c# sharpziplib adding file to existing archive

Hi, am trying to add a file to an existing archive using the following code. When run no errors or exceptions are shown but no files are added to the archive either. Any ideas why? using (FileStream fileStream = File.Open(archivePath, FileMode.Open, FileAccess.ReadWrite)) using (ZipOutputStream zipToWrite = new ZipOutput...

programmatically extract tar.gz in a single step (on windows with 7zip)

PROBLEM: I would like to be able to extract tar.gz files in a single step. This makes my question almost identical to this one: stackoverflow question for tar-gz. My question is almost the same, but not the same, because I would like to do this on windows using 7zip command-line (or something similar) inside a bat file or ruby/perl/pyt...

Bash script to archive files and then copy new ones.

Need some help with this as my shell scripting skills are somewhat less than l337 :( I need to gzip several files and then copy newer ones over the top from another location. I need to be able to call this script in the following manner from other scripts. exec script.sh $oldfile $newfile Can anyone point me in the right direction? ...

Command to Bulk Compress All Files / Folders Under a Directory

I'm looking for a command that will compress every folder within a directory separately with the name of each archive reflecting the original folder name. I know that tar czvf example.tar.gz example/ will compress an entire folder. However, I have not found a command to bulk archive. Is there such a command? ...