archive

Creating a Archive in Wordpress Datewise for a Particular Category

Hello Guys In my site i would like to add a archive page or a custom page where i want to show posts from a particular category and that with a date wise format like for example: i am in category : Technology All post of a day will be shown at this page like i have written 3 posts only on that day. The next page from navigation wou...

Best practice for a SQL Archiving Stored Procedure

I have a very large database (~100Gb) primarily consisting of two tables I want to reduce in size (both of which have approx. 50 million records). I have an archive DB set up on the same server with these two tables, using the same schema. I'm trying to determine the best conceptual way of going about removing the rows from the live db a...

Uploading & extracting archive (zip, rar, targz, tarbz) automatically - security issue?

I'd like to create following functionality for my web-based application: user uploads an archive file (zip/rar/tar.gz/tar.bz etc) (content - several image files) archive is automatically extracted after upload images are shown in the HTML list (whatever) Are there any security issues involved with extraction process? E.g. possibility...

Is There an Archiving Library Without Dependencies? (C/C++)

Hey, I'm looking for an archiving library that functions like GNU's tar, but without any dependencies. I need some sort of archiving format to manage resources in my game engine and am still iffy about rolling my own. ...

Creating a ZIP archive from a Cocoa application

Are there Objective-C classes that are equivalent to the ones contained in the Java package java.util.zip? Is to execute a CLI command the only alternative? ...

Simple news archive with Smarty?

There is a simple table of news articles: [ id | title | body | created ]. What is the best way to create a simple news archive using smarty from a full collection of articles ordered by created date? In the format: 2009 12.11. Title 03.03. Title 01.01. Title 2008 11.12. Title 04.03. Title 02.03. Title 16.02. Title 2007 ... ... ...

Library for decompression of most common file-archive formats?

I'm writing an application that needs to read the contents of & decompress common file-archival formats, including ZIP, RAR, and 7z. However, I can't seem to find a library that does all this and abstracts the functionality to the level I need, with simple functions in the vein of: ExtractArchive() ExtractArchiveTruncated() ReadArch...

Code to have Wordpress display a monthly archive?

Hello, We am setting up a WP-MU at work and one of my tasks is to make a link in the sidebar that will will go to a page displaying a monthly archive. The sidebar must not contain the archive list just a link to a page (generated on the fly by WP) that shows the archive by month. This is probably simple, but I have spent hours going t...

Including Source in Archive File

I was considering including the source code in my archive file (EAR, JAR, WAR) so we could see what the deployed application looks like. This will obviously make the archive much bigger. Does the size of the archive file affect performance on the application server at all? Is this a good idea or not? ...

can entire web document be cached/archived (including the precise state of the DOM) and later reloaded?

imagine that we have loaded a complex website with lots of Javascript which loaded all sort of info via AJAX and by making computations based on user input. So, now suppose we want to archive it in such a way that we can reliably load it later on from file (maybe even without an internet connection) and study its behavior / debug it / et...

Get a File or URI object for a file inside an archive with Java?

Hi, is it possible to get a File or URI object for a file inside an archive with Java? (zip or jar archive) Thanks Hemeroc. ...

WordPress Monthly Archive by Year

WordPress extraordinaires, I need your help! I need to be able to list the archives, but in a slightly different way than the WP codex, or an hour of Googling will show me. I need the months of the year, as the generic archive function, but only for one year at a time. So, list all the months in 2007. I'll need to be able to use this m...

Loading ruby source from a zip archive?

I have a mod_rails server where disk space, oddly enough, is at a premium. Is there a way for me to compress my application's source, like Python's zipimport? There are obvious disadvantages to this, so I should probably just break down and spend a nickel on disk space, but I figured it'd be worth a shot. ...

How to compare JARs in Araxis Merge?

I'm using Araxis Merge to try and compare two java archive files. I've done it in Beyond Compare but have recently switched to a mac. Right now Araxis treats the jars like files and i just see a lot of binary/hex stuff, I'd like to see which classes have differences and to treat the jar like a folder. Any ideas? ...

PHP shell tar problem, return code 2

Want to archive a folder using tar from PHP: $result = shell_exec("tar cf $sourceFile $sourceFolder -C $source > /dev/null; echo $?"); var_dump($result); Output: string(2) "2 " the > /dev/null; echo $? thing is for outputing the result code of a script under linux; the -C $source - changes to the right folder before doing anythi...

How can Restore in RMAN ?

hi Experts I want backup with RMAN and after that for example delete scott.dept and then restore it. but i can't :( I write it : 1)rman target sys/manager@db 2)in sql*plus shutdown immediate; startup mount exclusive; ALTER DATABASE ARCHIVELOG; 2)CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE DISK TO 'g:\db\db_cf%F...

Saving auto increment in MySQL

Hello, I am trying to sync between 2 tables: I have active table where has auto_increment, and I have archive table with the same values. I would like both ID's to be unique (between the tables as well) - I mean, I would like to save auto incremenet, and if I UNION both table I still have uniqness. How can I do that? Is there a possibili...

Sidebar Behaves Differently on Wordpress Archive Pages

I am stuck on this one... I have modified the default theme to a design my client came up with. All my modifications seem to be working okay, except the pages selected from the archive dropdown menu. Here's a link to an example page where the problem exists: http://mtrainierphotos.com/blog/?cat=15 Everywhere else the sidebar looks as i...

Data Archival Strategy for CRM system

Hi, I need to archive data from a CRM system. Does anyone have any idea on how this can be achieved and what are possible strategies for the archiving? ...

Archive/Compress Command FTP Through Terminal?

Hi. Is it possible to compress a folder and create a .zip on my server through a command in terminal via FTP? Is there a archive command? Thanks. ...