I'm looking for an easy to use (free) "module" that can upload multiple files / folders.
It must:
Support image files
be user-friendly
be customizable
It may be written in:
RoR (Ruby On Rails)
Java
Flash
Thanks in advance.
Have a look here http://jimneath.org/2008/04/17/paperclip-attaching-files-in-rails the article explains how to use Paperclip
Or you could try SWFUpload , a Javascript & Flash solution for file uploads
Uploading multiple files and folders in one go is not supported by HTML, which means that your options are Flash or a Java applet. Ruby on Rails isn't going to help you because it's a server-side framework that generates HTML.
Related
I'm using DevExpress Web Development Charts for JavaScript charts.
I got a big surprise when I downloaded the trial for testing some basic implementation. It downloads an .exe file with a couple of samples implemented in .NET technology.
Well, for my project I must use Java/JSP. Is it possible to use the HTML5 charts of DevExpresswith Java? I've been looking in the downloaded files but it seems a bit complicated to extract only the js/HTML code related to the charts.
So, my question is: is it possible to use DevExpresscharts with JSP? If yes, where can I download the required libraries?
I am trying to generate PDF document from HTML using wkhtmltopdf. But I am not able to figure out how to integrate wkhtmltopdf into my webapplication as there are no jar files in the tar file provided by the author. Can someone help me to set up this?
The wkhtmltopdf program is provided in a form of a stand-alone executable. It uses Qt Webkit module from Qt library for rendering the HTML and producing the PDF output. It is written in C/C++ thus you will be unable to find any JAR files.
You can save the HTML to a temporary file, use Runtime.exec() or ProcessBuilder to fork a new process from Java and when the process finishes, read the PDF file.
Qt Jambi might help you as well with its QWebView class might help you as well. Alternatively, you can implement your own wrapper over Qt Webkit in C and create Java bindings using JNI for calling it from Java in-process.
Depending on the target environment, you have to assess if you can afford forking processes from Java or implementing native calls as it might be a possible security risk.
I'm relatively new to ePub format, but if I understand well, to make programmatically an ePub starting from XHTML or PDF content could mean:
choose HTML or XHTML content and validate them with an XHTML validator (or clean them with Tydy)
choose PDF file to insert in the ePub
create the XML manifest or XML packing files and TOC file
zip the whole files in a .epub file
validate the ePub (I saw something in Google code)
So my question is if there is some sort of high level Java API to do these steps. Sure I can use API for ZIP, XML in Java, but does it exist higher tools?
thanks a lot
------ EDIT -------
I've developed an open source project to do that!
http://scribaebookmake.sourceforge.net/
I haven't seen a java epub toolchain; however, I have been having good success with Sigil.
If the goal is to make an epub, I'd give Sigil a go. Before I used it I was rolling my epubs by hand (with the automation of an ant build.xml).
If the goal is to make a java based epub toolchain, then it shouldn't be terribly hard, depending on how much validation and pipelining you wish to do. Personally, I'd start with writing an epub viewer.
As far as the PDF parts go, I just embed XHTML. Haven't had a need for embedding PDF yet. As far as epub validation goes, if all the xml is valid and there's no dangling links prior to zipping, you're going to have a valid epub.
You should take a look at this project which seemed to be converting PDF to epub.
The following is a shameless plug for a project that I've been working on myself. It is basically EPUB tooling written in Java, for Eclipse. It comes with an API, UI and an Ant task that allows you to do pretty much everything. See http://help.eclipse.org/kepler/topic/org.eclipse.mylyn.docs.epub.help/help/introduction.html
suppose i have one html file.
Hello World
how i can load this file to browser in j2me.
anyhelp
thankx
There is platformRequest method, but I'm not sure what phones supports opening local files. There is also CHAPI and it maybe provides some way to do such things, but it is probably not widely supported.
A question that seems to have quite a few options for Python, but none for Java after googling for two days. Really really could use some help all I have found so far is a recommendation to use gaeVFS to build an excel file from the xml components and then zip it all together which sounds like a slap in the face. Oh yes and if you were wondering I am questioning my use of Java rather than python but at 5,000 lines of code it would be insane to turn back now...
Other things you might find useful
Client: GWT
Server: Servlets running
on google app engine storing data
into the google data store
Excel file: mandatory, CSV isn't good
enough, no need to save the file just
to be able to "serve" it to the
client i.e. open a "Save As" box.
Have you checked out this api already: Java Excel API ?
You could also take a look at the Apache POI project. You can read and write MS Excel documents with this library.
Take a look at this post.
It's a step by step tutorial on how to generate excel files on google app engine.
Try this :
http://code.google.com/p/gwt-table-to-excel/
google app engine do not support input/output stream classes, you need to use google app engine virtual file system.