Domino Upgrade

VersionSupport end
5.0
6.0
6.5
7.0
Upgrade to 8.5x now!
(see the full Lotus lifcyle) To make your upgrade a success use the Upgrade Cheat Sheet. Contemplating to replace Notes? You have to read this!

Search

Reference

1. Learn XPages online
2. Communicate with IBMers and Lotus Experts using Sametime

About Me

I am the "IBM Collaboration & Productivity Advisor" for IBM Asia Pacific. I'm based in Singapore.
Reach out to me via:
Follow notessensei on Twitter
(posts)
Skype
Sametime
IBM
Facebook
LinkedIn
XING
Amazon Store
Amazon Kindle

Mobile tag

Twitter

Languages

Other languages on request.

Visitors

Useful Tools

Get Firefox
Use OpenDNS
The support for Windows XP is coming to an end and has . Time to consider an alternative to move on. sounds like a lot of time, but, like an object in a mirror, it is closer than you think.

« Lotussphere Presentation Batch Download | Main| Vote for DXL! »

The making of a download script

QuickImage Based on the feedback on my little download script I'd like to share how I created it.
Step 1: Have a look at the database that hosts the downloads:
Step 2: Pick a view
Step 3: The same view as XML and all of it.
Step 4: Whip up some XSLT:
<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
<xsl:output method="text" indent="no"/>
<xsl:template match="/"><xsl:apply-templates /></xsl:template>
<xsl:template match="viewentries">REM Fetch all the Files<xsl:apply-templates /></xsl:template>
<xsl:template match="viewentry">if not exist <xsl:value-of select="entrydata/text"/>.pdf wget --user=yourname --password=yourpwd www.ls08.net/confapps/pdf.nsf/ceda8c2d1ee3648785256e1c000e1a47/<xsl:value-of select="@unid"/>/$file/<xsl:value-of select="entrydata/text"/>.pdf</xsl:template>
</xsl:stylesheet>

Step 5: Transform the view using your favorite XML tool.

Comments

Gravatar Image1 - Hi,

I'm a bit stuck trying to create a download button that works within flash (or dreamweaver) for a website I'm working on, what it is, is i want a roll over button which is going to be a pdf icon, placed somwhere on a flash stage, so that when uploaded the viewer on rollover is instructed to download my cv when clicked I would like my cv to then download onto there desktop? I can make the rollover button and place it on a stage I just cant figure out how to get it working/downloading??? any chance you could point me in the right direction, that would be loads of help,

Thanks,

Anthony.


Post A Comment

Please note: Comments without a valid and working eMail address will be removed. This is my site, so I decide what stays here and what goes.

:-D:-o:-p:-x:-(:-):-\:angry::cool::cry::emb::grin::huh::laugh::rolleyes:;-)

Disclaimer

This site is in no way affiliated, endorsed, sanctioned, supported, nor enlightened by Lotus Software nor IBM Corporation. I may be an employee, but the opinions, theories, facts, etc. presented here are my own and are in now way given in any official capacity. In short, these are my words and this is my site, not IBM's - and don't even begin to think otherwise. (Disclaimer shamelessly plugged from Rocky Oliver)
© 2003 - 2012 Stephan H. Wissel - all rights reserved as listed here: Creative Commons License
Unless otherwise labeled by its originating author, the content found on this site is made available under the terms of an Attribution/NonCommercial/ShareAlike Creative Commons License, with the exception that no rights are granted -- since they are not mine to grant -- in any logo, graphic design, trademarks or trade names of any type.