How to enable Notes to uncompress gzip files when doing preview in webbrowser - lotus-domino

I have a bunch of gzipped javascript files that are added to resources\files in a Notesdatabase. when I view these files on the server, Domino seem to unzip them and show them correct in the webbrowser. but when I view them using preview in webbrowser the files are not unzipped.
is there any notes.ini pararmeter I can use on the client to make this work also when doing preview in webbrowser.

There are .ini settings on the server that govern how gzip files are handled but there aren't any I'm aware of for the client/designer. To my knowledge, the only objects you can preview in a web browser from designer are forms, views, folders, xpages and pages. Resources can't be previewed. Can you be more specific about what actions you're taking?
Note: this should have been a comment but my karma isn't high enough yet to allow for that. Please be kind before down voting.

Related

Where and how can I copy flash-animated html content inside a Lotus Notes database in order to invoke from a document or page?

I know Domino as a web server. In the data folder there´s an HTML folder which is normally the root of web content. But I want to put files and folders with all the flash stuff inside a Notes database (nsf).
I know I can do this via import through Package Explorer in the Notes Designer client. But where should I copy it into? Into webcontent folder?
I also know documents and pages can act as .html files. But there are also javascripts, .swf, .mp3 and other files.
How can I then invoke the starting point file like index.html?
I appreciate any helpful answer .. :-)
I know I can do this via import through Package Explorer in the Notes
Designer client. But where should I copy it into? Into webcontent
folder?
I would not recommend to put it on Domino server file system, it's very dirty way.
One document with one attachment/video. That would give you overview of all files you have in database plus possibility to add/delete them (require development skills little bit).
You can also upload your resources as Files as a design element, however that would require you design access each time you want to change them.
About invoking. Have a look here: Domino URL Commands
Also check this link: URL commands for opening attachments, image files, and OLE objects
For everything that is not plain html you can use file- resources. Linking them is as simple as write an url that looks like this:
hxxp://yourserver.com/yournsf.nsf/JSLibrary.js?OpenFileResource
You can find all possible URL- commands in your designer help or in this URL cheat sheet

Access Web Inspector in Safari with Applescript

I'm trying to create an Applescript script which essentially downloads files from Safari. However, the files are not available for download via the web page, so I usually open up the Web Inspector and then go to Resources and then in a folder called Other, download the file.
I've been searching the web for a method to do this via Applescript, but to no avail. My question is therefore: How can I access the Web Inspector > Resrouces > Other files in my current Safari window? I know that it is possible to bring up the Web Inspect using ⌥⌘I, and then you can change pane inside of the Inspector using ⌘]. But I can't get focus on the list of Resources Files, as shown below:
Is it possible to access this .mp3 file inside of the Other folder without using shortcut commands? And if not/if so, how can I access the Other folder inside of this window pane?
Thanks for your help in advance.
Is it possible that you can access the .mp3 file some other way? Rather than using the Web Inspector, perhaps you can find the link to the .mp3 file within the page source code, and then download it.
If you want to access the "Other" folder, then you will have to copy the web address you need it for, reset safari, go to the web page via the html bar and then open up the web inspector via alt>cmd>I and it should be there.Not sure what Apple Script has to do with anything (But I have never used it :P)
Hope this helps

modules to load .docx & .pdf file in drupal

Hello I am looking to see if there are any modules for drupal 6 or 7, which would allow basic document management functionalities and allow to view .docx and pdf documents?
For viewing PDF: http://drupal.org/project/fileviewer or A PDF viewer with a toolbar actions
Concerning .docx files, I think you may need to actually add mime type support at the webserver level in order for it to work with a viewer (http://drupal.org/node/177256)
Here's your standard drupal file management plugins: http://drupal.org/node/265416
If you're not opposed to integrating google docs, you may be able to do more with it. If so try this module for integrated file viewing: http://drupal.org/project/gdoc_field and this for basic integration with google docs http://drupal.org/project/google_docs (not maintained past 6x)
I'm not sure what are you trying to do. Check elfinder if you are looking for a nice UI for managing your files and folders.

Image not displaying in image control

I'm showing an image in image control. For that I have created File Upload control of TextBox and button. And storing image in projects Images folder.Image is uploading very well. But it always needs to include in project then only I'm getting image displayed. Is there any solution to overcome this problem?
Be aware that the Silverlight application is running LOCAL in the user's browser. It cannot (easily) access files on the webserver that you upload. Files you include in the project work because they are compiled into the dll which is downloaded to the browser.
To dynamically access files uploaded to the server you need to implement some kind of WCF service to send it back. I don't know if you can easily "download" a file into a Silverlight App with a URL. Silerlight is pretty tight on what you can and cannt do...

Where to save the uploaded files?

I am developing a web application to upload .mp3 files and need to play them. I successfully uploaded the files and saving them in C:/uploads folder. I understand that as it's a web application we need to save them in the Apache web server it self. But I am not sure, where to save them.
Thanks,
Serenity.
You can use content repositories to store uploaded data, I think this is common approach. For instance, take a look at the Apache JackRabbit CR, applying it you won't easy look for uploaded files on hard drive, but you will have web interface, and also some other tools available to connect to repository and show you files there etc.
As alternative to JackRabbit, you can try Alfresco CMS, they both implement JCR, other implementations are listed here (you will them at the bottom of that page).