I have export file with products and history data. I need to change information about products storage number. Here is example file:
https://drive.google.com/open?id=1RAC73jM3pbrlbYVaAQL58vN9SvnBvNxM
File looks like it contains another files. Any idea what format is this, how I can open it and edit? Looks kinda like packaged sqlite files or something.
Related
Im developing small admin panel with react-hook-forms form. In creates form I add to my subbmiting object array with files and img file. It is look like {arrFiles:[File, File, File], img:[File]}. For sending files to server I use base64. So its OK. But Im working with edit form right now. And I need to take default files values from server: file name, path in server and file date. How I can take this information? I thought I have to forming on server object for the each files like this {fileName:"name", path:"url/name.jpg", body:"base64...***"}. What do you think about that practies. Is this ok?
I got a nodeJS/AngularJS website my client would like to export some data in CSV.
I use ng-csv for doing it, but now he would like to have a word design file.
I don't find a lot of things about this on the web, what is possible to do ?
Transform the csv File from Excel into Word File ?
Or create a word file directly from the website ?
EDIT : I would like to export my data into a Word and display it like this :
The better approach I would suggest is that u should create word documnet in node itself, try using officgen module in npm.
https://www.npmjs.com/package/officegen
I have to put some attributes on a file like you see it on an jpeg file, there you can add many attributes about the image and resolution and also but information in about the camera.
I also saw it on an mp3 file where you can add information about the song, album ,producer etc...
Is there any way to add these attributes to something like an pdf, txt.
Thanks for your time.
I have to put some attributes on a file like you see it on an jpeg file, there you can add many attributes about the image and resolution and also but information in about the camera.
That is part of the JPEG/Exif file specification.
I also saw it on an mp3 file where you can add information about the song, album ,producer etc...
That is part of the MP3 file specification.
Is there any way to add these attributes to something like an pdf, txt.
Metadata is part of the PDF file specification. There is nothing like that for plain text files.
I am trying to export an excel sheet/file. Inside the file are product data and I am trying to insert the products' image along with other product data for each product. However everytime I run my export code I get an error which is something like, File http://path_to_file/image.jpg not found!. I am using CakePHP by the way. My code for exporting the excel sheet goes like this:
$objDrawing = new PHPExcel_Worksheet_Drawing();
$objDrawing->setName('Water_Level');
$objDrawing->setDescription('Water_Level');
$objDrawing->setPath(''.PATH_TO_IMAGES.'image.jpg');
$objDrawing->setHeight(20);
$objDrawing->setCoordinates('A1');
$objDrawing->setWorksheet($excel->getActiveSheet());
Is there something wrong with my code? Thanks.
I'm pretty sure the argument for PHPExcel_Worksheet_Drawing::setPath() is ment to be a local filesystem path, not a URL.
I am trying to make a new file format for music. It needs to be a file that actually stores multiple audio files, for example a zip file. I am looking for a way to turn the zip file into this new file format. However, I still want to use id3 tags with these new files. I was wondering how I can make this new file format which is one file that holds multiple audio files, but still contains overall id3 tags for that one file, so that I can load it into my mobile applications.
Any help/recommendations would be appreciated.
Cheers,
AJ
The problem with creating your own new file format is that only you can use it. Until you convince lots of other people that it is a useful new format, no one else will have the tools to be able to do anything with the files you create.
For existing music player programs to be able to handle a new file format, you must write a CODEC for your file format in that player's plug-in style. Probably more than one plug-in as your file format is both a container of music and a catalog as well.
One alternative to creating a new file format is to put the MP3 files you have into a new MP3 file with each old file a new TRACK in the new file. Be sure to set each new tracks start time to be after the sum of all previous tracks play duration, so they don't step on each other. Merge the metadata about each file into the metadata of the new file. This might work OK for collections with lots of common metadata (like same artist), but might not work very well if the metadata is extremely varied.
Another alternative is to convert them to CDA format and put then into an Audio-CD image file, just as if you had burned them to a CD.
A third alternative is to put your files into an SQLite database file. Your metadata from each MP3 file fill in records, and you have your choice of leaving the MP3 file external and just linking to it, or storing the blob of your MP3 file in the DB as well. If you do store the blobs, then the SQLite database file is a single file that contains everything you put in it.
-Jesse
Don't create new formats unless you really really have a very good reason to do so.
Its sounds like Matroska can do anything you need. But in contrast to your own format you and other developers will have a bunch of ready to use tools to work with the format. This includes editors, players,... Additionally it you can leave making initial engineering errors to other people.
If you really really want to create your own format: Either just put your audio files that support id3 tags into your zip file, or create a meta file, for example in XML format, into your zip files as well, that contains the meta information that you want to be included.