mirror of
https://gitlab.silvrtree.co.uk/martind2000/booksnew.git
synced 2025-02-10 20:09:17 +00:00
Adding build tools
This commit is contained in:
parent
ee65af91f5
commit
aed1cec3d4
BIN
tools/7-zip.chm
Normal file
BIN
tools/7-zip.chm
Normal file
Binary file not shown.
4
tools/7za.bat
Normal file
4
tools/7za.bat
Normal file
@ -0,0 +1,4 @@
|
||||
@echo off
|
||||
title Portable Apps Backup Details [DO NOT CLOSE]
|
||||
color F0
|
||||
7za.exe %*
|
BIN
tools/7za.exe
Normal file
BIN
tools/7za.exe
Normal file
Binary file not shown.
BIN
tools/AdbWinApi.dll
Normal file
BIN
tools/AdbWinApi.dll
Normal file
Binary file not shown.
BIN
tools/AdbWinUsbApi.dll
Normal file
BIN
tools/AdbWinUsbApi.dll
Normal file
Binary file not shown.
BIN
tools/FBTaskScheduler.exe
Normal file
BIN
tools/FBTaskScheduler.exe
Normal file
Binary file not shown.
BIN
tools/GetDate.exe
Normal file
BIN
tools/GetDate.exe
Normal file
Binary file not shown.
BIN
tools/Gmail.ico
Normal file
BIN
tools/Gmail.ico
Normal file
Binary file not shown.
After Width: | Height: | Size: 254 KiB |
BIN
tools/PKZIP25.EXE
Normal file
BIN
tools/PKZIP25.EXE
Normal file
Binary file not shown.
BIN
tools/VncViewer.jar
Normal file
BIN
tools/VncViewer.jar
Normal file
Binary file not shown.
BIN
tools/VncViewer/AuthPanel.class
Normal file
BIN
tools/VncViewer/AuthPanel.class
Normal file
Binary file not shown.
BIN
tools/VncViewer/ButtonPanel.class
Normal file
BIN
tools/VncViewer/ButtonPanel.class
Normal file
Binary file not shown.
BIN
tools/VncViewer/CapabilityInfo.class
Normal file
BIN
tools/VncViewer/CapabilityInfo.class
Normal file
Binary file not shown.
BIN
tools/VncViewer/CapsContainer.class
Normal file
BIN
tools/VncViewer/CapsContainer.class
Normal file
Binary file not shown.
BIN
tools/VncViewer/ClipboardFrame.class
Normal file
BIN
tools/VncViewer/ClipboardFrame.class
Normal file
Binary file not shown.
BIN
tools/VncViewer/DesCipher.class
Normal file
BIN
tools/VncViewer/DesCipher.class
Normal file
Binary file not shown.
BIN
tools/VncViewer/HTTPConnectSocket.class
Normal file
BIN
tools/VncViewer/HTTPConnectSocket.class
Normal file
Binary file not shown.
BIN
tools/VncViewer/HTTPConnectSocketFactory.class
Normal file
BIN
tools/VncViewer/HTTPConnectSocketFactory.class
Normal file
Binary file not shown.
BIN
tools/VncViewer/InStream.class
Normal file
BIN
tools/VncViewer/InStream.class
Normal file
Binary file not shown.
4
tools/VncViewer/META-INF/MANIFEST.MF
Normal file
4
tools/VncViewer/META-INF/MANIFEST.MF
Normal file
@ -0,0 +1,4 @@
|
||||
Manifest-Version: 1.0
|
||||
Created-By: 1.6.0_07 (Sun Microsystems Inc.)
|
||||
Main-Class: VncViewer
|
||||
|
BIN
tools/VncViewer/MemInStream.class
Normal file
BIN
tools/VncViewer/MemInStream.class
Normal file
Binary file not shown.
BIN
tools/VncViewer/OptionsFrame.class
Normal file
BIN
tools/VncViewer/OptionsFrame.class
Normal file
Binary file not shown.
BIN
tools/VncViewer/RecordingFrame.class
Normal file
BIN
tools/VncViewer/RecordingFrame.class
Normal file
Binary file not shown.
BIN
tools/VncViewer/ReloginPanel.class
Normal file
BIN
tools/VncViewer/ReloginPanel.class
Normal file
Binary file not shown.
BIN
tools/VncViewer/RfbProto.class
Normal file
BIN
tools/VncViewer/RfbProto.class
Normal file
Binary file not shown.
BIN
tools/VncViewer/SessionRecorder.class
Normal file
BIN
tools/VncViewer/SessionRecorder.class
Normal file
Binary file not shown.
BIN
tools/VncViewer/SocketFactory.class
Normal file
BIN
tools/VncViewer/SocketFactory.class
Normal file
Binary file not shown.
BIN
tools/VncViewer/VncCanvas.class
Normal file
BIN
tools/VncViewer/VncCanvas.class
Normal file
Binary file not shown.
BIN
tools/VncViewer/VncCanvas2.class
Normal file
BIN
tools/VncViewer/VncCanvas2.class
Normal file
Binary file not shown.
BIN
tools/VncViewer/VncViewer.class
Normal file
BIN
tools/VncViewer/VncViewer.class
Normal file
Binary file not shown.
BIN
tools/VncViewer/ZlibInStream.class
Normal file
BIN
tools/VncViewer/ZlibInStream.class
Normal file
Binary file not shown.
18
tools/buildBook.bat
Normal file
18
tools/buildBook.bat
Normal file
@ -0,0 +1,18 @@
|
||||
@echo off
|
||||
@echo Book Builder...
|
||||
|
||||
echo %1
|
||||
|
||||
set BN=%1%
|
||||
|
||||
del c:\books\%BN%.epub
|
||||
|
||||
cd c:\books\%BN%
|
||||
|
||||
c:\tools\zip c:\books\%BN%.epub -XoD mimetype
|
||||
c:\tools\zip c:\books\%BN%.epub -X9rD OEBPS/
|
||||
c:\tools\zip c:\books\%BN%.epub -X9rD META-INF/
|
||||
|
||||
|
||||
java -jar c:\tools\epubcheck-1.1\epubcheck-1.1.jar c:\books\%BN%.epub
|
||||
|
336
tools/convertToEBook-macro.txt
Normal file
336
tools/convertToEBook-macro.txt
Normal file
@ -0,0 +1,336 @@
|
||||
Sub ConvertToEBook()
|
||||
'
|
||||
' Macro1 Macro
|
||||
'
|
||||
'
|
||||
|
||||
Selection.HomeKey Unit:=wdStory
|
||||
Selection.Find.ClearFormatting
|
||||
Selection.Find.Replacement.ClearFormatting
|
||||
With Selection.Find
|
||||
.Text = "CHAPTER*."
|
||||
.Replacement.Text = " "
|
||||
.Forward = True
|
||||
.Wrap = wdFindContinue
|
||||
.Format = False
|
||||
.MatchCase = False
|
||||
.MatchWholeWord = False
|
||||
.MatchAllWordForms = False
|
||||
.MatchSoundsLike = False
|
||||
.MatchWildcards = True
|
||||
End With
|
||||
Selection.Find.Execute
|
||||
Selection.TypeBackspace
|
||||
|
||||
Selection.HomeKey Unit:=wdStory
|
||||
Selection.Find.ClearFormatting
|
||||
Selection.Find.Font.Italic = True
|
||||
Selection.Find.Replacement.ClearFormatting
|
||||
With Selection.Find
|
||||
.Text = ""
|
||||
.Replacement.Text = "<em>^&</em>"
|
||||
.Forward = True
|
||||
.Wrap = wdFindContinue
|
||||
.Format = True
|
||||
.MatchCase = False
|
||||
.MatchWholeWord = False
|
||||
.MatchWildcards = False
|
||||
.MatchSoundsLike = False
|
||||
.MatchAllWordForms = False
|
||||
End With
|
||||
Selection.Find.Execute Replace:=wdReplaceAll
|
||||
|
||||
Selection.HomeKey Unit:=wdStory
|
||||
Selection.Find.ClearFormatting
|
||||
Selection.Find.Font.Bold = True
|
||||
Selection.Find.Replacement.ClearFormatting
|
||||
With Selection.Find
|
||||
.Text = ""
|
||||
.Replacement.Text = "<strong>^&</strong>"
|
||||
.Forward = True
|
||||
.Wrap = wdFindContinue
|
||||
.Format = True
|
||||
.MatchCase = False
|
||||
.MatchWholeWord = False
|
||||
.MatchWildcards = False
|
||||
.MatchSoundsLike = False
|
||||
.MatchAllWordForms = False
|
||||
End With
|
||||
Selection.Find.Execute Replace:=wdReplaceAll
|
||||
|
||||
Selection.HomeKey Unit:=wdStory
|
||||
Selection.Find.ClearFormatting
|
||||
Selection.Find.Replacement.ClearFormatting
|
||||
With Selection.Find
|
||||
.Text = "^v_______^v"
|
||||
.Replacement.Text = "<hr />"
|
||||
.Forward = True
|
||||
.Wrap = wdFindContinue
|
||||
.Format = False
|
||||
.MatchCase = False
|
||||
.MatchWholeWord = False
|
||||
.MatchWildcards = False
|
||||
.MatchSoundsLike = False
|
||||
.MatchAllWordForms = False
|
||||
End With
|
||||
Selection.Find.Execute Replace:=wdReplaceAll
|
||||
|
||||
Selection.HomeKey Unit:=wdStory
|
||||
Selection.Find.ClearFormatting
|
||||
Selection.Find.Replacement.ClearFormatting
|
||||
With Selection.Find
|
||||
.Text = "_______"
|
||||
.Replacement.Text = "<hr />"
|
||||
.Forward = True
|
||||
.Wrap = wdFindContinue
|
||||
.Format = False
|
||||
.MatchCase = False
|
||||
.MatchWholeWord = False
|
||||
.MatchWildcards = False
|
||||
.MatchSoundsLike = False
|
||||
.MatchAllWordForms = False
|
||||
End With
|
||||
Selection.Find.Execute Replace:=wdReplaceAll
|
||||
|
||||
Selection.HomeKey Unit:=wdStory
|
||||
Selection.Find.ClearFormatting
|
||||
Selection.Find.Replacement.ClearFormatting
|
||||
With Selection.Find
|
||||
.Text = "^p</em>"
|
||||
.Replacement.Text = "</em>^p"
|
||||
.Forward = True
|
||||
.Wrap = wdFindContinue
|
||||
.Format = False
|
||||
.MatchCase = False
|
||||
.MatchWholeWord = False
|
||||
.MatchWildcards = False
|
||||
.MatchSoundsLike = False
|
||||
.MatchAllWordForms = False
|
||||
End With
|
||||
Selection.Find.Execute Replace:=wdReplaceAll
|
||||
|
||||
Selection.HomeKey Unit:=wdStory
|
||||
Selection.Find.ClearFormatting
|
||||
Selection.Find.Replacement.ClearFormatting
|
||||
With Selection.Find
|
||||
.Text = "^p</strong>"
|
||||
.Replacement.Text = "</strong>^p"
|
||||
.Forward = True
|
||||
.Wrap = wdFindContinue
|
||||
.Format = False
|
||||
.MatchCase = False
|
||||
.MatchWholeWord = False
|
||||
.MatchWildcards = False
|
||||
.MatchSoundsLike = False
|
||||
.MatchAllWordForms = False
|
||||
End With
|
||||
Selection.Find.Execute Replace:=wdReplaceAll
|
||||
|
||||
Selection.HomeKey Unit:=wdStory
|
||||
Selection.Find.ClearFormatting
|
||||
Selection.Find.Replacement.ClearFormatting
|
||||
With Selection.Find
|
||||
.Text = "^p"
|
||||
.Replacement.Text = "^+"
|
||||
.Forward = True
|
||||
.Wrap = wdFindContinue
|
||||
.Format = False
|
||||
.MatchCase = False
|
||||
.MatchWholeWord = False
|
||||
.MatchWildcards = False
|
||||
.MatchSoundsLike = False
|
||||
.MatchAllWordForms = False
|
||||
End With
|
||||
Selection.Find.Execute Replace:=wdReplaceAll
|
||||
|
||||
|
||||
|
||||
Selection.HomeKey Unit:=wdStory
|
||||
Selection.Find.ClearFormatting
|
||||
Selection.Find.Replacement.ClearFormatting
|
||||
With Selection.Find
|
||||
.Text = "^+^+^+^+^+"
|
||||
.Replacement.Text = "^="
|
||||
.Forward = True
|
||||
.Wrap = wdFindContinue
|
||||
.Format = False
|
||||
.MatchCase = False
|
||||
.MatchWholeWord = False
|
||||
.MatchWildcards = False
|
||||
.MatchSoundsLike = False
|
||||
.MatchAllWordForms = False
|
||||
End With
|
||||
Selection.Find.Execute Replace:=wdReplaceAll
|
||||
|
||||
Selection.HomeKey Unit:=wdStory
|
||||
Selection.Find.ClearFormatting
|
||||
Selection.Find.Replacement.ClearFormatting
|
||||
With Selection.Find
|
||||
.Text = "^+^+^+^+"
|
||||
.Replacement.Text = "^="
|
||||
.Forward = True
|
||||
.Wrap = wdFindContinue
|
||||
.Format = False
|
||||
.MatchCase = False
|
||||
.MatchWholeWord = False
|
||||
.MatchWildcards = False
|
||||
.MatchSoundsLike = False
|
||||
.MatchAllWordForms = False
|
||||
End With
|
||||
Selection.Find.Execute Replace:=wdReplaceAll
|
||||
|
||||
Selection.HomeKey Unit:=wdStory
|
||||
Selection.Find.ClearFormatting
|
||||
Selection.Find.Replacement.ClearFormatting
|
||||
With Selection.Find
|
||||
.Text = "^+^+^+"
|
||||
.Replacement.Text = "^="
|
||||
.Forward = True
|
||||
.Wrap = wdFindContinue
|
||||
.Format = False
|
||||
.MatchCase = False
|
||||
.MatchWholeWord = False
|
||||
.MatchWildcards = False
|
||||
.MatchSoundsLike = False
|
||||
.MatchAllWordForms = False
|
||||
End With
|
||||
Selection.Find.Execute Replace:=wdReplaceAll
|
||||
|
||||
Selection.HomeKey Unit:=wdStory
|
||||
Selection.Find.ClearFormatting
|
||||
Selection.Find.Replacement.ClearFormatting
|
||||
With Selection.Find
|
||||
.Text = "^+^+"
|
||||
.Replacement.Text = "^="
|
||||
.Forward = True
|
||||
.Wrap = wdFindContinue
|
||||
.Format = False
|
||||
.MatchCase = False
|
||||
.MatchWholeWord = False
|
||||
.MatchWildcards = False
|
||||
.MatchSoundsLike = False
|
||||
.MatchAllWordForms = False
|
||||
End With
|
||||
Selection.Find.Execute Replace:=wdReplaceAll
|
||||
|
||||
Selection.HomeKey Unit:=wdStory
|
||||
Selection.Find.ClearFormatting
|
||||
Selection.Find.Replacement.ClearFormatting
|
||||
With Selection.Find
|
||||
.Text = "^+"
|
||||
.Replacement.Text = "^="
|
||||
.Forward = True
|
||||
.Wrap = wdFindContinue
|
||||
.Format = False
|
||||
.MatchCase = False
|
||||
.MatchWholeWord = False
|
||||
.MatchWildcards = False
|
||||
.MatchSoundsLike = False
|
||||
.MatchAllWordForms = False
|
||||
End With
|
||||
Selection.Find.Execute Replace:=wdReplaceAll
|
||||
|
||||
Selection.HomeKey Unit:=wdStory
|
||||
Selection.Find.ClearFormatting
|
||||
Selection.Find.Replacement.ClearFormatting
|
||||
With Selection.Find
|
||||
.Text = "^=^=^="
|
||||
.Replacement.Text = "^+"
|
||||
.Forward = True
|
||||
.Wrap = wdFindContinue
|
||||
.Format = False
|
||||
.MatchCase = False
|
||||
.MatchWholeWord = False
|
||||
.MatchWildcards = False
|
||||
.MatchSoundsLike = False
|
||||
.MatchAllWordForms = False
|
||||
End With
|
||||
Selection.Find.Execute Replace:=wdReplaceAll
|
||||
|
||||
Selection.HomeKey Unit:=wdStory
|
||||
Selection.Find.ClearFormatting
|
||||
Selection.Find.Replacement.ClearFormatting
|
||||
With Selection.Find
|
||||
.Text = "^=^="
|
||||
.Replacement.Text = "^+"
|
||||
.Forward = True
|
||||
.Wrap = wdFindContinue
|
||||
.Format = False
|
||||
.MatchCase = False
|
||||
.MatchWholeWord = False
|
||||
.MatchWildcards = False
|
||||
.MatchSoundsLike = False
|
||||
.MatchAllWordForms = False
|
||||
End With
|
||||
Selection.Find.Execute Replace:=wdReplaceAll
|
||||
|
||||
Selection.HomeKey Unit:=wdStory
|
||||
Selection.Find.ClearFormatting
|
||||
Selection.Find.Replacement.ClearFormatting
|
||||
With Selection.Find
|
||||
.Text = "^="
|
||||
.Replacement.Text = "^+"
|
||||
.Forward = True
|
||||
.Wrap = wdFindContinue
|
||||
.Format = False
|
||||
.MatchCase = False
|
||||
.MatchWholeWord = False
|
||||
.MatchWildcards = False
|
||||
.MatchSoundsLike = False
|
||||
.MatchAllWordForms = False
|
||||
End With
|
||||
Selection.Find.Execute Replace:=wdReplaceAll
|
||||
|
||||
Selection.HomeKey Unit:=wdStory
|
||||
Selection.Find.ClearFormatting
|
||||
Selection.Find.Replacement.ClearFormatting
|
||||
With Selection.Find
|
||||
.Text = "^+"
|
||||
.Replacement.Text = "</p>^p<p>"
|
||||
.Forward = True
|
||||
.Wrap = wdFindContinue
|
||||
.Format = False
|
||||
.MatchCase = False
|
||||
.MatchWholeWord = False
|
||||
.MatchWildcards = False
|
||||
.MatchSoundsLike = False
|
||||
.MatchAllWordForms = False
|
||||
End With
|
||||
Selection.Find.Execute Replace:=wdReplaceAll
|
||||
|
||||
Selection.HomeKey Unit:=wdStory
|
||||
Selection.Find.ClearFormatting
|
||||
Selection.Find.Replacement.ClearFormatting
|
||||
With Selection.Find
|
||||
.Text = "<p><em></p>^p<p>"
|
||||
.Replacement.Text = "<p><em>"
|
||||
.Forward = True
|
||||
.Wrap = wdFindContinue
|
||||
.Format = False
|
||||
.MatchCase = False
|
||||
.MatchWholeWord = False
|
||||
.MatchWildcards = False
|
||||
.MatchSoundsLike = False
|
||||
.MatchAllWordForms = False
|
||||
End With
|
||||
Selection.Find.Execute Replace:=wdReplaceAll
|
||||
|
||||
Selection.HomeKey Unit:=wdStory
|
||||
Selection.Find.ClearFormatting
|
||||
Selection.Find.Replacement.ClearFormatting
|
||||
With Selection.Find
|
||||
.Text = "<p><hr /></p>"
|
||||
.Replacement.Text = "<hr />"
|
||||
.Forward = True
|
||||
.Wrap = wdFindContinue
|
||||
.Format = False
|
||||
.MatchCase = False
|
||||
.MatchWholeWord = False
|
||||
.MatchWildcards = False
|
||||
.MatchSoundsLike = False
|
||||
.MatchAllWordForms = False
|
||||
End With
|
||||
Selection.Find.Execute Replace:=wdReplaceAll
|
||||
|
||||
|
||||
End Sub
|
5
tools/cookies.txt
Normal file
5
tools/cookies.txt
Normal file
@ -0,0 +1,5 @@
|
||||
# HTTP cookie file.
|
||||
# Generated by Wget on 2009-10-21 12:41:56.
|
||||
# Edit at your own risk.
|
||||
|
||||
.bbc.co.uk TRUE / FALSE 1382269316 BBC-UID 14da9d9effc318a43c9124e4b11efef847d387d450e00174b4efa91704f3d3240Mozilla%2f5%2e0%20%28iPhone%3b%20U%3b%20CPU%20like%20Mac%20OS%20X%3b%20en%29%20AppleWebKit%2f420%2b%20%28KHTML%2c%20like%20Gecko%29%20Version%2f3%2e0%20Mobile%2f1A543a%20Safari%2f419%2e3
|
3
tools/default.aspx
Normal file
3
tools/default.aspx
Normal file
File diff suppressed because one or more lines are too long
110
tools/delold.bat
Normal file
110
tools/delold.bat
Normal file
@ -0,0 +1,110 @@
|
||||
:: --------DELOLD.BAT----------
|
||||
@echo off
|
||||
SET OLDERTHAN=%1
|
||||
SET FLDR=%2
|
||||
|
||||
IF NOT DEFINED OLDERTHAN GOTO SYNTAX
|
||||
::IF NOT DEFINED FLDR GOTO SYNTAX
|
||||
|
||||
for /f "tokens=2" %%i in ('date /t') do set thedate=%%i
|
||||
|
||||
set mm=%thedate:~0,2%
|
||||
set dd=%thedate:~3,2%
|
||||
set yyyy=%thedate:~6,4%
|
||||
|
||||
set /A dd=%dd% - %OLDERTHAN%
|
||||
set /A mm=%mm% + 0
|
||||
|
||||
if /I %dd% GTR 0 goto DONE
|
||||
set /A mm=%mm% - 1
|
||||
if /I %mm% GTR 0 goto ADJUSTDAY
|
||||
set /A mm=12
|
||||
set /A yyyy=%yyyy% - 1
|
||||
|
||||
:ADJUSTDAY
|
||||
if %mm%==1 goto SET31
|
||||
if %mm%==2 goto LEAPCHK
|
||||
if %mm%==3 goto SET31
|
||||
if %mm%==4 goto SET30
|
||||
if %mm%==5 goto SET31
|
||||
if %mm%==6 goto SET30
|
||||
if %mm%==7 goto SET31
|
||||
if %mm%==8 goto SET31
|
||||
if %mm%==9 goto SET30
|
||||
if %mm%==10 goto SET31
|
||||
if %mm%==11 goto SET30
|
||||
if %mm%==12 goto SET31
|
||||
|
||||
goto ERROR
|
||||
|
||||
:SET31
|
||||
set /A dd=31 + %dd%
|
||||
goto DONE
|
||||
|
||||
:SET30
|
||||
set /A dd=30 + %dd%
|
||||
goto DONE
|
||||
|
||||
:LEAPCHK
|
||||
set /A tt=%yyyy% %% 4
|
||||
if not %tt%==0 goto SET28
|
||||
set /A tt=%yyyy% %% 100
|
||||
if not %tt%==0 goto SET29
|
||||
set /A tt=%yyyy% %% 400
|
||||
if %tt%==0 goto SET29
|
||||
|
||||
:SET28
|
||||
set /A dd=28 + %dd%
|
||||
goto DONE
|
||||
|
||||
:SET29
|
||||
set /A dd=29 + %dd%
|
||||
|
||||
:DONE
|
||||
if /i %dd% LSS 10 set dd=0%dd%
|
||||
if /I %mm% LSS 10 set mm=0%mm%
|
||||
for %%i in (*.*) do (
|
||||
set FileName="%%i"
|
||||
call :PROCESSFILE %%~ti
|
||||
)
|
||||
|
||||
set mm=
|
||||
set yyyy=
|
||||
set dd=
|
||||
set thedate=
|
||||
goto EXIT
|
||||
|
||||
:SYNTAX
|
||||
ECHO.
|
||||
ECHO USAGE:
|
||||
ECHO DELOLD X
|
||||
ECHO Where X is the number of days previous to Today.
|
||||
ECHO.
|
||||
ECHO EX: "DELOLD 5" Deletes files older than 5 days.
|
||||
GOTO EXIT
|
||||
|
||||
:PROCESSFILE
|
||||
set temp=%1
|
||||
set fyyyy=20%temp:~6%
|
||||
set fmm=%temp:~0,2%
|
||||
set fdd=%temp:~3,2%
|
||||
if /I %fyyyy% GTR 2069 set fyyyy=19%temp:~6%
|
||||
|
||||
|
||||
:: +*************************************+
|
||||
:: | This is where the files are deleted |
|
||||
:: | Change the ECHO command to DEL to |
|
||||
:: | delete. ECHO is used for test. |
|
||||
:: +*************************************+
|
||||
if /I %yyyy%/%mm%/%dd% GEQ %fyyyy%/%fmm%/%fdd% (
|
||||
ECHO %FileName%
|
||||
)
|
||||
|
||||
set temp=
|
||||
set fyyyy=
|
||||
set fmm=
|
||||
set fdd=
|
||||
|
||||
:EXIT
|
||||
|
||||
:: ----------END-DELOLD.BAT-------------
|
BIN
tools/epubcheck-1.0.3.zip
Normal file
BIN
tools/epubcheck-1.0.3.zip
Normal file
Binary file not shown.
19
tools/epubcheck-1.1/COPYING.txt
Normal file
19
tools/epubcheck-1.1/COPYING.txt
Normal file
@ -0,0 +1,19 @@
|
||||
Copyright (c) 2007 Adobe Systems Incorporated
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy of
|
||||
this software and associated documentation files (the "Software"), to deal in
|
||||
the Software without restriction, including without limitation the rights to
|
||||
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
|
||||
the Software, and to permit persons to whom the Software is furnished to do so,
|
||||
subject to the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be included in all
|
||||
copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
|
||||
FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
|
||||
COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
|
||||
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
|
||||
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||
|
61
tools/epubcheck-1.1/README.txt
Normal file
61
tools/epubcheck-1.1/README.txt
Normal file
@ -0,0 +1,61 @@
|
||||
This folder contains the distribution of epubcheck project.
|
||||
|
||||
EpubCheck is a tool to validate IDPF Epub files. It can detect many
|
||||
types of errors in Epub. OCF container structure, OPF and OPS mark-up,
|
||||
and internal reference consistency are checked. EpubCheck can be run
|
||||
as a standalone command-line tool, installed as a web application or
|
||||
used as a library.
|
||||
|
||||
Epubcheck project home: http://code.google.com/p/epubcheck/
|
||||
|
||||
BUILDING
|
||||
|
||||
To build epubcheck from the sources you need Java Development Kit (JDK) 1.5 or above
|
||||
and Apache ant (http://ant.apache.org/) 1.6 or above installed
|
||||
|
||||
Run
|
||||
|
||||
ant -f build.xml
|
||||
|
||||
RUNNING
|
||||
|
||||
To run the tool you need Java Runtime (1.5 or above). Any OS should do. Run
|
||||
it from the command line:
|
||||
|
||||
java -jar epubcheck-x.x.x.jar file.epub
|
||||
|
||||
All detected errors are simply printed to stderr.
|
||||
|
||||
USING AS A LIBRARY
|
||||
|
||||
You can also use EpubCheck as a library in your Java application. EpubCheck
|
||||
public interfaces can be found in com.adobe.epubcheck.api package. EpubCheck
|
||||
class can be used to instantiate a validation engine. Use one of its
|
||||
constructors and then call validate() method. Report is an interface that
|
||||
you can implement to get a list of the errors and warnings reported by the
|
||||
validation engine (instead of the error list being printed out).
|
||||
|
||||
LICENSING
|
||||
|
||||
See COPYING.txt
|
||||
|
||||
AUTHORS
|
||||
|
||||
Peter Sorotokin
|
||||
Garth Conboy
|
||||
Markus Gylling
|
||||
Piotr Kula
|
||||
|
||||
Most of the EpubCheck functionality comes from the schema validation tool Jing
|
||||
and schemas that were developed by IDPF and DAISY. EpubCheck development was
|
||||
largely done at Adobe Systems.
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
BIN
tools/epubcheck-1.1/epubcheck-1.1.jar
Normal file
BIN
tools/epubcheck-1.1/epubcheck-1.1.jar
Normal file
Binary file not shown.
66
tools/epubcheck-1.1/jigsaw_license.txt
Normal file
66
tools/epubcheck-1.1/jigsaw_license.txt
Normal file
@ -0,0 +1,66 @@
|
||||
Jigsaw Copying Conditions
|
||||
|
||||
W3C IPR SOFTWARE NOTICE
|
||||
|
||||
Copyright © 1995-1998 World Wide Web Consortium, (Massachusetts Institute of
|
||||
Technology, Institut National de Recherche en Informatique et en
|
||||
Automatique, Keio University). All Rights Reserved.
|
||||
http://www.w3.org/Consortium/Legal/
|
||||
|
||||
This W3C work (including software, documents, or other related items) is
|
||||
being provided by the copyright holders under the following license. By
|
||||
obtaining, using and/or copying this work, you (the licensee) agree that you
|
||||
have read, understood, and will comply with the following terms and
|
||||
conditions:
|
||||
|
||||
Permission to use, copy, and modify this software and its documentation,
|
||||
with or without modification, for any purpose and without fee or royalty is
|
||||
hereby granted, provided that you include the following on ALL copies of the
|
||||
software and documentation or portions thereof, including modifications,
|
||||
that you make:
|
||||
|
||||
1. The full text of this NOTICE in a location viewable to users of the
|
||||
redistributed or derivative work.
|
||||
2. Any pre-existing intellectual property disclaimers, notices, or terms
|
||||
and conditions. If none exist, a short notice of the following form
|
||||
(hypertext is preferred, text is permitted) should be used within the
|
||||
body of any redistributed or derivative code: "Copyright © World Wide
|
||||
Web Consortium, (Massachusetts Institute of Technology, Institut
|
||||
National de Recherche en Informatique et en Automatique, Keio
|
||||
University). All Rights Reserved. http://www.w3.org/Consortium/Legal/"
|
||||
3. Notice of any changes or modifications to the W3C files, including the
|
||||
date changes were made. (We recommend you provide URIs to the location
|
||||
from which the code is derived).
|
||||
|
||||
In addition, creators of derivitive works must include the full text of this
|
||||
NOTICE in a location viewable to users of the derivitive work.
|
||||
|
||||
THIS SOFTWARE AND DOCUMENTATION IS PROVIDED "AS IS," AND COPYRIGHT HOLDERS
|
||||
MAKE NO REPRESENTATIONS OR WARRANTIES, EXPRESS OR IMPLIED, INCLUDING BUT NOT
|
||||
LIMITED TO, WARRANTIES OF MERCHANTABILITY OR FITNESS FOR ANY PARTICULAR
|
||||
PURPOSE OR THAT THE USE OF THE SOFTWARE OR DOCUMENTATION WILL NOT INFRINGE
|
||||
ANY THIRD PARTY PATENTS, COPYRIGHTS, TRADEMARKS OR OTHER RIGHTS.
|
||||
|
||||
COPYRIGHT HOLDERS WILL NOT BE LIABLE FOR ANY DIRECT, INDIRECT, SPECIAL OR
|
||||
CONSEQUENTIAL DAMAGES ARISING OUT OF ANY USE OF THE SOFTWARE OR
|
||||
DOCUMENTATION.
|
||||
|
||||
The name and trademarks of copyright holders may NOT be used in advertising
|
||||
or publicity pertaining to the software without specific, written prior
|
||||
permission. Title to copyright in this software and any associated
|
||||
documentation will at all times remain with copyright holders.
|
||||
|
||||
____________________________________
|
||||
|
||||
This formulation of W3C's notice and license became active on August 14
|
||||
1998. See the older formulation for the policy prior to this date. Please
|
||||
see our Copyright FAQ for common questions about using materials from our
|
||||
site, including specific terms and conditions for packages like libwww,
|
||||
Amaya, and Jigsaw. Other questions about this notice can be directed to
|
||||
site-policy@w3.org .
|
||||
|
||||
|
||||
|
||||
|
||||
webmaster
|
||||
(last updated 14-Aug-1998)
|
12
tools/epubcheck-1.1/jing_license.txt
Normal file
12
tools/epubcheck-1.1/jing_license.txt
Normal file
@ -0,0 +1,12 @@
|
||||
Jing Copying Conditions
|
||||
|
||||
Copyright (c) 2001-2003 Thai Open Source Software Center Ltd
|
||||
All rights reserved.
|
||||
|
||||
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
|
||||
|
||||
* Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
|
||||
* Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
|
||||
* Neither the name of the Thai Open Source Software Center Ltd nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.
|
||||
|
||||
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
BIN
tools/epubcheck-1.1/lib/jigsaw.jar
Normal file
BIN
tools/epubcheck-1.1/lib/jigsaw.jar
Normal file
Binary file not shown.
BIN
tools/epubcheck-1.1/lib/saxon.jar
Normal file
BIN
tools/epubcheck-1.1/lib/saxon.jar
Normal file
Binary file not shown.
BIN
tools/epubpreflight-0.1.0.zip
Normal file
BIN
tools/epubpreflight-0.1.0.zip
Normal file
Binary file not shown.
19
tools/epubpreflight-0.1.0/COPYING.txt
Normal file
19
tools/epubpreflight-0.1.0/COPYING.txt
Normal file
@ -0,0 +1,19 @@
|
||||
Copyright (c) 2007 Adobe Systems Incorporated
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy of
|
||||
this software and associated documentation files (the "Software"), to deal in
|
||||
the Software without restriction, including without limitation the rights to
|
||||
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
|
||||
the Software, and to permit persons to whom the Software is furnished to do so,
|
||||
subject to the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be included in all
|
||||
copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
|
||||
FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
|
||||
COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
|
||||
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
|
||||
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||
|
61
tools/epubpreflight-0.1.0/README.txt
Normal file
61
tools/epubpreflight-0.1.0/README.txt
Normal file
@ -0,0 +1,61 @@
|
||||
This folder contains the distribution of epubcheck project.
|
||||
|
||||
EpubCheck is a tool to validate IDPF Epub files. It can detect many
|
||||
types of errors in Epub. OCF container structure, OPF and OPS mark-up,
|
||||
and internal reference consistency are checked. EpubCheck can be run
|
||||
as a standalone command-line tool, installed as a web application or
|
||||
used as a library.
|
||||
|
||||
Epubcheck project home: http://code.google.com/p/epubcheck/
|
||||
|
||||
BUILDING
|
||||
|
||||
To build epubcheck from the sources you need Java Development Kit (JDK) 1.5 or above
|
||||
and Apache ant (http://ant.apache.org/) 1.6 or above installed
|
||||
|
||||
Run
|
||||
|
||||
ant -f build.xml
|
||||
|
||||
RUNNING
|
||||
|
||||
To run the tool you need Java Runtime (1.5 or above). Any OS should do. Run
|
||||
it from the command line:
|
||||
|
||||
java -jar epubcheck-x.x.x.jar file.epub
|
||||
|
||||
All detected errors are simply printed to stderr.
|
||||
|
||||
USING AS A LIBRARY
|
||||
|
||||
You can also use EpubCheck as a library in your Java application. EpubCheck
|
||||
public interfaces can be found in com.adobe.epubcheck.api package. EpubCheck
|
||||
class can be used to instantiate a validation engine. Use one of its
|
||||
constructors and then call validate() method. Report is an interface that
|
||||
you can implement to get a list of the errors and warnings reported by the
|
||||
validation engine (instead of the error list being printed out).
|
||||
|
||||
LICENSING
|
||||
|
||||
See COPYING.txt
|
||||
|
||||
AUTHORS
|
||||
|
||||
Peter Sorotokin
|
||||
Garth Conboy
|
||||
Markus Gylling
|
||||
Piotr Kula
|
||||
|
||||
Most of the EpubCheck functionality comes from the schema validation tool Jing
|
||||
and schemas that were developed by IDPF and DAISY. EpubCheck development was
|
||||
largely done at Adobe Systems.
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
BIN
tools/epubpreflight-0.1.0/epubpreflight-0.1.0.jar
Normal file
BIN
tools/epubpreflight-0.1.0/epubpreflight-0.1.0.jar
Normal file
Binary file not shown.
12
tools/epubpreflight-0.1.0/jing_license.txt
Normal file
12
tools/epubpreflight-0.1.0/jing_license.txt
Normal file
@ -0,0 +1,12 @@
|
||||
Jing Copying Conditions
|
||||
|
||||
Copyright (c) 2001-2003 Thai Open Source Software Center Ltd
|
||||
All rights reserved.
|
||||
|
||||
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
|
||||
|
||||
* Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
|
||||
* Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
|
||||
* Neither the name of the Thai Open Source Software Center Ltd nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.
|
||||
|
||||
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
BIN
tools/epubpreflight-0.1.0/lib/saxon.jar
Normal file
BIN
tools/epubpreflight-0.1.0/lib/saxon.jar
Normal file
Binary file not shown.
106
tools/getsrss.js
Normal file
106
tools/getsrss.js
Normal file
@ -0,0 +1,106 @@
|
||||
var brand,pid, title, short_synopsis, maintitle, subtitle;
|
||||
|
||||
|
||||
function getJSONfeed(feedurl,feedid){
|
||||
|
||||
var xmlhttp= WScript.createobject("Msxml2.XMLHTTP.3.0");
|
||||
|
||||
xmlhttp.open( "GET", feedurl, false);
|
||||
xmlhttp.send();
|
||||
|
||||
var rssJSON_Data = eval ("(" + xmlhttp.responseText +")");
|
||||
|
||||
brand = rssJSON_Data.schedule.service.title
|
||||
|
||||
WScript.Echo(brand);
|
||||
|
||||
var broadcasts = rssJSON_Data.schedule.day.broadcasts;
|
||||
|
||||
for (var i = 0; i < broadcasts.length; i++)
|
||||
{
|
||||
if (broadcasts[i].programme.pid == feedid){
|
||||
p = broadcasts[i].programme.pid;
|
||||
title = broadcasts[i].programme.title;
|
||||
short_synopsis = broadcasts[i].programme.short_synopsis;
|
||||
maintitle = broadcasts[i].programme.display_titles.title;
|
||||
subtitle = broadcasts[i].programme.display_titles.subtitle;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
function iTunes(){
|
||||
|
||||
var iTunesApp = WScript.CreateObject("iTunes.Application");
|
||||
|
||||
var mainLibrary = iTunesApp.LibraryPlaylist;
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
function GatherRSS(){
|
||||
|
||||
|
||||
feedurl = "http://www.bbc.co.uk/6music/programmes/schedules/today.json";
|
||||
|
||||
// feedurl = "http://www.bbc.co.uk/radio3/programmes/schedules/today.xml"
|
||||
|
||||
|
||||
feedid = "b00j3hkg"; // marc
|
||||
// feedid = "b00j3hxw"; // radio 6 - sixmusic plays it again
|
||||
// feedid = "b00j15yw"; // radio 3 classical collection
|
||||
// feedid = "b00j15z6"; // radio 3 performance on 3
|
||||
|
||||
|
||||
|
||||
getJSONfeed(feedurl,feedid);
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
WScript.Echo("RSS Updater");
|
||||
|
||||
|
||||
GatherRSS();
|
||||
|
||||
|
||||
|
||||
var d = new Date();
|
||||
|
||||
//now.format("m/dd/yy").toString;
|
||||
|
||||
|
||||
//var workDate = d.getFullYear().tostring + (d.getMonth()+1).tostring + d.getDate().tostring;
|
||||
|
||||
var workDate = d.getFullYear().toString()+ (d.getMonth()+1).toString() + d.getDate().toString();
|
||||
|
||||
|
||||
WScript.Echo(workDate);
|
||||
|
||||
|
||||
brand,pid, title, short_synopsis, maintitle, subtitle
|
||||
|
||||
var detailsJSONObject = {"feedid": "", "brand": "", "pid": "", "title": "", "short_synopsis":"", "maintitle:":"", "subtitle":"", "gfxdir":"","mp3file":""};
|
||||
|
||||
detailsJSONObject.feedid = feedid;
|
||||
detailsJSONObject.brand = brand;
|
||||
detailsJSONObject.pid = pid;
|
||||
detailsJSONObject.title = title;
|
||||
detailsJSONObject.short_synopsis = short_synopsis;
|
||||
detailsJSONObject.maintitle = maintitle;
|
||||
detailsJSONObject.subtitle = subtitle;
|
||||
detailsJSONObject.gfxdir = "c:\\tools\\gfx";
|
||||
detailsJSONObject.mp3file = "c:\\tools\\gfx";
|
||||
|
||||
WScript.Echo(detailsJSONObject.gfxdir);
|
||||
|
||||
|
||||
|
228
tools/getsrss.vbs
Normal file
228
tools/getsrss.vbs
Normal file
@ -0,0 +1,228 @@
|
||||
|
||||
sub showRSSNewsFeeds(rssNewsFeed,id)
|
||||
|
||||
set xmlObj = wscript.createobject("Msxml2.DOMDocument.3.0")
|
||||
set xmlhttp= wscript.createobject("Msxml2.XMLHTTP.3.0")
|
||||
|
||||
xmlObj.validateOnParse = false
|
||||
xmlObj.async = false
|
||||
xmlObj.preserveWhiteSpace = false
|
||||
|
||||
xmlhttp.open "GET", rssNewsFeed, False
|
||||
xmlhttp.send
|
||||
|
||||
|
||||
|
||||
rssXML_Data = xmlhttp.responseXML.xml
|
||||
' rssXML_Data = application(rssname & "xml")
|
||||
|
||||
|
||||
if len(xmlhttp.responsetext) = 0 then
|
||||
Status = rssError
|
||||
|
||||
wscript.echo "<!-- RSS Status : " & status & " -->" & vbcrlf
|
||||
wscript.echo "RSS Status : " & status & vbcrlf
|
||||
|
||||
' Exit Function
|
||||
|
||||
end if
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
' --------- PHP-Nuke & PostNuke compatabilaty --------------------------------
|
||||
rssXML_Data = replace(rssXML_Data, "<!DOCTYPE", "<!--DOCTYPE")
|
||||
rssXML_Data = replace(rssXML_Data, "rss-0.91.dtd"">", "rss-0.91.dtd""-->")
|
||||
' ----------------------------------------------------------------------------
|
||||
xmlObj.loadXML(rssXML_Data)
|
||||
|
||||
|
||||
If xmlObj.parseError.errorCode = 0 then
|
||||
ValidLocation = true
|
||||
else
|
||||
ValidLocation = false
|
||||
end if
|
||||
set xmlhttp = nothing
|
||||
|
||||
if not ValidLocation then
|
||||
Status = rssBadRSS
|
||||
|
||||
wscript.echo "<!-- RSS Status : " & status & " -->" & vbcrlf
|
||||
'response.flush
|
||||
|
||||
Exit sub
|
||||
end if
|
||||
|
||||
set schedule = xmlObj.selectSingleNode("schedule")
|
||||
|
||||
|
||||
' wscript.echo schedule.text
|
||||
|
||||
set service = schedule.selectSingleNode("service")
|
||||
set title = service.selectSingleNode("title")
|
||||
|
||||
wscript.echo title.text
|
||||
|
||||
|
||||
set broadcasts = schedule.selectSingleNode("day/broadcasts")
|
||||
|
||||
|
||||
set children = broadcasts.selectNodes("broadcast")
|
||||
TotalItems = children.length
|
||||
|
||||
wscript.echo totalitems
|
||||
|
||||
wantedPID = id
|
||||
|
||||
wscript.echo "Looking for " + wantedPID
|
||||
for each child in children
|
||||
itemNum = itemNum + 1
|
||||
|
||||
set pid = child.selectSingleNode("programme/pid")
|
||||
' wscript.echo pid.text
|
||||
|
||||
|
||||
if pid.text = wantedPID then
|
||||
|
||||
set title = child.selectSingleNode("programme/title")
|
||||
set synopsis = child.selectSingleNode("programme/short_synopsis")
|
||||
set displaytitle = child.selectSingleNode("programme/display_titles/title")
|
||||
set displaysubtitle = child.selectSingleNode("programme/display_titles/subtitle")
|
||||
|
||||
|
||||
|
||||
wscript.echo title.text
|
||||
wscript.echo synopsis.text
|
||||
wscript.echo displaytitle.text
|
||||
wscript.echo displaysubtitle.text
|
||||
|
||||
|
||||
end if
|
||||
|
||||
' set
|
||||
|
||||
|
||||
|
||||
' if itemNum > ubound(Items, 2) then
|
||||
' Redim Preserve Items(2, ubound(Items, 2) + 5)
|
||||
' end if
|
||||
' for each ItemChild in child.ChildNodes
|
||||
' select case ItemChild.baseName
|
||||
' case "title" Items(0, itemNum) = ItemChild.text
|
||||
' case "link" Items(1, itemNum) = ItemChild.text
|
||||
' case "description" Items(2, itemNum) = ItemChild.text
|
||||
' end select
|
||||
' next
|
||||
next
|
||||
|
||||
|
||||
|
||||
|
||||
end sub
|
||||
|
||||
|
||||
function SQLLongDate(olddate)
|
||||
|
||||
dy = day(cdate(olddate))
|
||||
mn = month(cdate(olddate))
|
||||
yr = year(cdate(olddate))
|
||||
|
||||
mh = hour(cdate(olddate))
|
||||
mm = minute(cdate(olddate))
|
||||
ss = second(cdate(olddate))
|
||||
|
||||
if len(mh) <= 1 then mh = "0" & mh
|
||||
if len(mm) <= 1 then mm = "0" & mm
|
||||
if len(ss) <= 1 then ss = "0" & ss
|
||||
|
||||
'response.write "Day : " & dy & "<BR>" & vbcrlf
|
||||
'response.write "Month : " & mn & "<BR>" & vbcrlf
|
||||
'response.write "Year : " & yr & "<BR>" & vbcrlf
|
||||
'mv = mn & "/" & dy & "/" & yr
|
||||
mv= yr & "-" & mn & "-" & dy & " "
|
||||
|
||||
mv = mv & mh & ":" & mm & ":" & ss
|
||||
|
||||
SQLLongDate = mv
|
||||
|
||||
end function
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
function StripHTML(ByRef asHTML)
|
||||
Dim loRegExp ' Regular Expression Object
|
||||
|
||||
' Create built In Regular Expression object
|
||||
Set loRegExp = New RegExp
|
||||
loRegExp.Global = True
|
||||
' Set the pattern To look For HTML tags
|
||||
loRegExp.Pattern = "<[^>]*>"
|
||||
|
||||
' Return the original String stripped of HTML
|
||||
StripHTML = loRegExp.Replace(asHTML, "")
|
||||
|
||||
' Release object from memory
|
||||
Set loRegExp = Nothing
|
||||
End function
|
||||
|
||||
|
||||
|
||||
function numbersOnly(ival)
|
||||
|
||||
notallwd = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ!£$%^&*()_+=[]{}#~<>?/\`'.,"
|
||||
allwd = "01234567890"
|
||||
|
||||
|
||||
l = len(ival)
|
||||
|
||||
ws = ""
|
||||
|
||||
for t = 1 to l
|
||||
|
||||
|
||||
cc = mid(ival,t,1)
|
||||
|
||||
if instr(allwd,cc) > 0 then ws = ws & cc
|
||||
|
||||
|
||||
next
|
||||
|
||||
|
||||
numbersonly = ws
|
||||
|
||||
|
||||
end function
|
||||
|
||||
|
||||
|
||||
sub GatherRSS()
|
||||
|
||||
|
||||
feedurl = "http://www.bbc.co.uk/6music/programmes/schedules/today.xml"
|
||||
|
||||
' feedurl = "http://www.bbc.co.uk/radio3/programmes/schedules/today.xml"
|
||||
|
||||
|
||||
feedid = "b00j3hkg" ' marc
|
||||
' feedid = "b00j3hxw" ' radio 6 - sixmusic plays it again
|
||||
' feedid = "b00j15yw" ' radio 3 classical collection
|
||||
' feedid = "b00j15z6" ' radio 3 performance on 3
|
||||
|
||||
|
||||
|
||||
call showRSSNewsFeeds(feedurl,feedid)
|
||||
|
||||
|
||||
|
||||
end sub
|
||||
|
||||
|
||||
WScript.Echo "RSS Updater"
|
||||
|
||||
|
||||
call GatherRSS
|
BIN
tools/image-interpolate.tgz
Normal file
BIN
tools/image-interpolate.tgz
Normal file
Binary file not shown.
BIN
tools/image-interpolate/image-interpolate.tar
Normal file
BIN
tools/image-interpolate/image-interpolate.tar
Normal file
Binary file not shown.
@ -0,0 +1,78 @@
|
||||
#!/usr/bin/env python
|
||||
|
||||
// image-interpolate.py 'in/*.jpg' 2000 'out/' = uses file exif time
|
||||
|
||||
import glob, time, sys
|
||||
from os.path import getmtime
|
||||
from piglib import lookupDef, pigIndex
|
||||
import Image, ImageMath
|
||||
from PIL.ExifTags import TAGS
|
||||
|
||||
def get_exif(filename):
|
||||
ret = {}
|
||||
i = Image.open(filename)
|
||||
info = i._getexif()
|
||||
for tag, value in info.items():
|
||||
decoded = TAGS.get(tag, tag)
|
||||
ret[decoded] = value
|
||||
return ret
|
||||
|
||||
def isoTime(t):
|
||||
return time.strftime("%Y-%m-%dT%H:%M:%S", t)
|
||||
|
||||
def imageCtime(filename):
|
||||
exif=get_exif(filename)
|
||||
timestr=lookupDef(exif, "DateTimeOriginal", lookupDef(exif, "DateTime", lookupDef(exif, "DateTimeDigitized", isoTime(time.localtime()))))
|
||||
return time.mktime(time.strptime(timestr, "%Y:%m:%d %H:%M:%S"))
|
||||
|
||||
def interp(a, b, r):
|
||||
"Interpolate r proportion of the way between two images"
|
||||
expr="a+(b-a)*%f" % r
|
||||
aa=a.convert("RGB").split()
|
||||
bb=b.convert("RGB").split()
|
||||
ret=aa
|
||||
for n in range(len(aa)):
|
||||
r=ImageMath.eval(expr, a=aa[n].convert("F"), b=bb[n].convert("F"))
|
||||
ret[n].paste( r )
|
||||
return Image.merge("RGB", ret)
|
||||
|
||||
def main():
|
||||
globfilter='in/*.jpg'
|
||||
if len(sys.argv)>1:
|
||||
globfilter=sys.argv[1]
|
||||
noframes=10
|
||||
if len(sys.argv)>2:
|
||||
noframes=int(sys.argv[2])
|
||||
outbase="out"
|
||||
if len(sys.argv)>3:
|
||||
outbase=sys.argv[3]
|
||||
|
||||
images=[ (f, imageCtime(f)) for f in glob.glob(globfilter) ]
|
||||
images=sorted(images, key=lambda x: x[1])
|
||||
|
||||
minsrctime=images[0][1]
|
||||
maxsrctime=images[-1][1]
|
||||
|
||||
print "Found list of images: \n%s" % "\n".join( [ "(%s,%s)" % (f[0],f[1]) for f in images ])
|
||||
print "Computing %d frames" % noframes
|
||||
|
||||
idx=oidx=0
|
||||
|
||||
for n in range(noframes):
|
||||
t=(maxsrctime-minsrctime)*float(n)/noframes+minsrctime
|
||||
idx=pigIndex( [ x[1] for x in images ], lambda n: t<n ) -1
|
||||
fn1=images[idx][0]
|
||||
fn2=images[idx+1][0]
|
||||
|
||||
if (idx!=oidx) or idx==0: # only reload images on change
|
||||
im1=Image.open(fn1).convert("RGB")
|
||||
im2=Image.open(fn2).convert("RGB")
|
||||
oidx=idx
|
||||
|
||||
r=float(t-images[idx][1])/(images[idx+1][1]-images[idx][1])
|
||||
print "Frame %d, t=%f images %s,%s r=%f" % (n,t, fn1, fn2, r)
|
||||
out=interp(im1, im2, r)
|
||||
out.convert("RGB").save("%s/result-%04d.jpg" % (outbase,n))
|
||||
|
||||
if __name__=="__main__":
|
||||
main()
|
74
tools/image-interpolate/image-interpolate/interpolate.py
Normal file
74
tools/image-interpolate/image-interpolate/interpolate.py
Normal file
@ -0,0 +1,74 @@
|
||||
#!/usr/bin/env python
|
||||
|
||||
import glob, time, sys
|
||||
from os.path import getmtime
|
||||
from piglib import lookupDef, pigIndex
|
||||
import Image, ImageMath
|
||||
from PIL.ExifTags import TAGS
|
||||
|
||||
def get_exif(filename):
|
||||
ret = {}
|
||||
i = Image.open(filename)
|
||||
info = i._getexif()
|
||||
for tag, value in info.items():
|
||||
decoded = TAGS.get(tag, tag)
|
||||
ret[decoded] = value
|
||||
return ret
|
||||
|
||||
def isoTime(t):
|
||||
return time.strftime("%Y-%m-%dT%H:%M:%S", t)
|
||||
|
||||
def imageCtime(filename):
|
||||
exif=get_exif(filename)
|
||||
return lookupDef(exif, "DateTimeOriginal", lookupDef(exif, "DateTime", lookupDef(exif, "DateTimeDigitized", isoTime(time.localtime()))))
|
||||
|
||||
def interp(a, b, r):
|
||||
"Interpolate r proportion of the way between two images"
|
||||
expr="a+(b-a)*%f" % r
|
||||
aa=a.convert("RGB").split()
|
||||
bb=b.convert("RGB").split()
|
||||
ret=aa
|
||||
for n in range(len(aa)):
|
||||
r=ImageMath.eval(expr, a=aa[n].convert("F"), b=bb[n].convert("F"))
|
||||
ret[n].paste( r )
|
||||
return Image.merge("RGB", ret)
|
||||
|
||||
def main():
|
||||
globfilter='in/*.jpg'
|
||||
if len(sys.argv)>1:
|
||||
globfilter=sys.argv[1]
|
||||
noframes=10
|
||||
if len(sys.argv)>2:
|
||||
noframes=int(sys.argv[2])
|
||||
outbase="out"
|
||||
if len(sys.argv)>3:
|
||||
outbase=sys.argv[3]
|
||||
|
||||
images=[ (f, getmtime(f)) for f in glob.glob(globfilter) ]
|
||||
images=sorted(images, key=lambda x: x[1])
|
||||
|
||||
minsrctime=images[0][1]
|
||||
maxsrctime=images[-1][1]
|
||||
|
||||
print "Found list of images: \n%s" % "\n".join( [ "(%s,%s)" % (f[0],f[1]) for f in images ])
|
||||
print "Computing %d frames" % noframes
|
||||
|
||||
idx=oidx=0
|
||||
|
||||
for n in range(noframes):
|
||||
t=(maxsrctime-minsrctime)*float(n)/noframes+minsrctime
|
||||
idx=pigIndex( [ x[1] for x in images ], lambda n: t<n ) -1
|
||||
fn1=images[idx][0]
|
||||
fn2=images[idx+1][0]
|
||||
|
||||
if (idx!=oidx) or idx==0: # only reload images on change
|
||||
im1=Image.open(fn1).convert("RGB")
|
||||
im2=Image.open(fn2).convert("RGB")
|
||||
oidx=idx
|
||||
r=float(t-images[idx][1])/(images[idx+1][1]-images[idx][1])
|
||||
print "Frame %d, t=%f images %s,%s r=%f" % (n,t, fn1, fn2, r)
|
||||
out=interp(im1, im2, r)
|
||||
out.convert("RGB").save("%s/result-%04d.jpg" % (outbase,n))
|
||||
|
||||
if __name__=="__main__":
|
||||
main()
|
35
tools/image-interpolate/image-interpolate/piglib.py
Normal file
35
tools/image-interpolate/image-interpolate/piglib.py
Normal file
@ -0,0 +1,35 @@
|
||||
#!/usr/bin/env python
|
||||
|
||||
#
|
||||
# Standard library
|
||||
#
|
||||
|
||||
def dedup(l):
|
||||
"Deduplicate a list, using dict/keys"
|
||||
d={}
|
||||
for k in l:
|
||||
d[k]=1
|
||||
|
||||
return d.keys()
|
||||
|
||||
def lookupDef(hash,v,d=0):
|
||||
"Dict lookup with default value (0)"
|
||||
try:
|
||||
return hash[v]
|
||||
except KeyError:
|
||||
return d
|
||||
|
||||
def smooth(l, factor=0.8):
|
||||
"Smooth list L using a belief-factor FACTOR"
|
||||
ret=[]
|
||||
n=l[0]
|
||||
for i in l:
|
||||
n+=(i-n)*factor
|
||||
ret.append(n)
|
||||
|
||||
return ret
|
||||
|
||||
def pigIndex(seq, f):
|
||||
"Return the index of the first item in seq where f(item) is True."
|
||||
return next((i for i in xrange(len(seq)) if f(seq[i])), None)
|
||||
|
BIN
tools/jsmin.exe
Normal file
BIN
tools/jsmin.exe
Normal file
Binary file not shown.
BIN
tools/libeay32.dll
Normal file
BIN
tools/libeay32.dll
Normal file
Binary file not shown.
BIN
tools/libiconv-2.dll
Normal file
BIN
tools/libiconv-2.dll
Normal file
Binary file not shown.
BIN
tools/libintl-2.dll
Normal file
BIN
tools/libintl-2.dll
Normal file
Binary file not shown.
62
tools/license.txt
Normal file
62
tools/license.txt
Normal file
@ -0,0 +1,62 @@
|
||||
7-Zip Command line version
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
License for use and distribution
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
7-Zip Copyright (C) 1999-2007 Igor Pavlov.
|
||||
|
||||
7za.exe is distributed under the GNU LGPL + AES code license
|
||||
|
||||
The GNU LGPL + AES code license means that you must follow both GNU LGPL rules
|
||||
and AES code license rules.
|
||||
|
||||
|
||||
Notes:
|
||||
You can use 7-Zip on any computer, including a computer in a commercial
|
||||
organization. You don't need to register or pay for 7-Zip.
|
||||
|
||||
|
||||
GNU LGPL information
|
||||
--------------------
|
||||
|
||||
This library is free software; you can redistribute it and/or
|
||||
modify it under the terms of the GNU Lesser General Public
|
||||
License as published by the Free Software Foundation; either
|
||||
version 2.1 of the License, or (at your option) any later version.
|
||||
|
||||
This library is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
Lesser General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU Lesser General Public
|
||||
License along with this library; if not, write to the Free Software
|
||||
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
|
||||
|
||||
AES code license
|
||||
----------------
|
||||
|
||||
Copyright (c) 2001, Dr Brian Gladman
|
||||
|
||||
LICENSE TERMS
|
||||
|
||||
The free distribution and use of this software in both source and binary
|
||||
form is allowed (with or without changes) provided that:
|
||||
|
||||
1. distributions of this source code include the above copyright
|
||||
notice, this list of conditions and the following disclaimer;
|
||||
|
||||
2. distributions in binary form include the above copyright
|
||||
notice, this list of conditions and the following disclaimer
|
||||
in the documentation and/or other associated materials;
|
||||
|
||||
3. the copyright holder's name is not used to endorse products
|
||||
built using this software without specific written permission.
|
||||
|
||||
DISCLAIMER
|
||||
|
||||
This software is provided 'as is' with no explicit or implied warranties
|
||||
in respect of its properties, including, but not limited to, correctness
|
||||
and fitness for purpose.
|
||||
|
6
tools/mirror.bat
Normal file
6
tools/mirror.bat
Normal file
@ -0,0 +1,6 @@
|
||||
@echo off
|
||||
rmdir c:\tmp\scottishpower /s /q
|
||||
mkdir c:\tmp\scottishpower
|
||||
xcopy /M /S /Y c:\www\scottishpower\*.* c:\tmp\scottishpower
|
||||
del c:\tmp\scottishpower.lst /f /q
|
||||
dir c:\tmp\scottishpower /s /b > c:\tmp\scottishpower.lst
|
BIN
tools/pdf2text.exe
Normal file
BIN
tools/pdf2text.exe
Normal file
Binary file not shown.
BIN
tools/pdftohtml.exe
Normal file
BIN
tools/pdftohtml.exe
Normal file
Binary file not shown.
BIN
tools/photothumb.db
Normal file
BIN
tools/photothumb.db
Normal file
Binary file not shown.
7185
tools/privacyscanner.js
Normal file
7185
tools/privacyscanner.js
Normal file
File diff suppressed because it is too large
Load Diff
109
tools/r5l.asx
Normal file
109
tools/r5l.asx
Normal file
@ -0,0 +1,109 @@
|
||||
<ASX version="3.0">
|
||||
<ABSTRACT>http://www.bbc.co.uk/fivelive/</ABSTRACT>
|
||||
<TITLE>BBC Radio 5 live</TITLE>
|
||||
<AUTHOR>BBC</AUTHOR>
|
||||
<COPYRIGHT>(c) British Broadcasting Corporation</COPYRIGHT>
|
||||
<MOREINFO HREF="http://www.bbc.co.uk/fivelive/" />
|
||||
<PARAM NAME="HTMLView" VALUE="http://www.bbc.co.uk/fivelive" />
|
||||
<PARAM NAME="GEO" VALUE="UK" />
|
||||
|
||||
<Entry>
|
||||
<ref href="mms://wmlive-acl.bbc.co.uk/wms/bbc_ami/radio5/radio5_bb_live_eq1_sl0?BBC-UID=946b4e02390b02b06145033441409bc19d1fef18d0e0d1719262d38394f475d5&SSO2-UID=" />
|
||||
</Entry>
|
||||
<Entry>
|
||||
<ref href="mms://wmlive-acl.bbc.co.uk/wms/bbc_ami/radio5/radio5_bb_live_ep1_sl0?BBC-UID=946b4e02390b02b06145033441409bc19d1fef18d0e0d1719262d38394f475d5&SSO2-UID=" />
|
||||
</Entry>
|
||||
<Entry>
|
||||
<ref href="mms://wmlive-acl.bbc.co.uk/wms/bbc_ami/radio5/radio5_bb_live_eq1_sw0?BBC-UID=946b4e02390b02b06145033441409bc19d1fef18d0e0d1719262d38394f475d5&SSO2-UID=" />
|
||||
</Entry>
|
||||
<Entry>
|
||||
<ref href="mms://wmlive-acl.bbc.co.uk/wms/bbc_ami/radio5/radio5_bb_live_ep1_sw0?BBC-UID=946b4e02390b02b06145033441409bc19d1fef18d0e0d1719262d38394f475d5&SSO2-UID=" />
|
||||
</Entry>
|
||||
<Entry>
|
||||
<ref href="mms://wmlive-acl.bbc.co.uk/wms/bbc_ami/radio5/radio5_bb_live_eq1_sw1?BBC-UID=946b4e02390b02b06145033441409bc19d1fef18d0e0d1719262d38394f475d5&SSO2-UID=" />
|
||||
</Entry>
|
||||
<Entry>
|
||||
<ref href="mms://wmlive-acl.bbc.co.uk/wms/bbc_ami/radio5/radio5_bb_live_ep1_sw1?BBC-UID=946b4e02390b02b06145033441409bc19d1fef18d0e0d1719262d38394f475d5&SSO2-UID=" />
|
||||
</Entry>
|
||||
<Entry>
|
||||
<ref href="mms://wmlive-acl.bbc.co.uk/wms/bbc_ami/radio5/radio5_bb_live_eq1_sl1?BBC-UID=946b4e02390b02b06145033441409bc19d1fef18d0e0d1719262d38394f475d5&SSO2-UID=" />
|
||||
</Entry>
|
||||
<Entry>
|
||||
<ref href="mms://wmlive-acl.bbc.co.uk/wms/bbc_ami/radio5/radio5_bb_live_ep1_sl1?BBC-UID=946b4e02390b02b06145033441409bc19d1fef18d0e0d1719262d38394f475d5&SSO2-UID=" />
|
||||
</Entry>
|
||||
|
||||
<Entry>
|
||||
<ref href="mms://wmlive-acl.bbc.co.uk/wms/bbc_ami/radio5/radio5_bb_live_eq1_sl1?BBC-UID=946b4e02390b02b06145033441409bc19d1fef18d0e0d1719262d38394f475d5&SSO2-UID=" />
|
||||
</Entry>
|
||||
<Entry>
|
||||
<ref href="mms://wmlive-acl.bbc.co.uk/wms/bbc_ami/radio5/radio5_bb_live_ep1_sl1?BBC-UID=946b4e02390b02b06145033441409bc19d1fef18d0e0d1719262d38394f475d5&SSO2-UID=" />
|
||||
</Entry>
|
||||
<Entry>
|
||||
<ref href="mms://wmlive-acl.bbc.co.uk/wms/bbc_ami/radio5/radio5_bb_live_eq1_sw1?BBC-UID=946b4e02390b02b06145033441409bc19d1fef18d0e0d1719262d38394f475d5&SSO2-UID=" />
|
||||
</Entry>
|
||||
<Entry>
|
||||
<ref href="mms://wmlive-acl.bbc.co.uk/wms/bbc_ami/radio5/radio5_bb_live_ep1_sw1?BBC-UID=946b4e02390b02b06145033441409bc19d1fef18d0e0d1719262d38394f475d5&SSO2-UID=" />
|
||||
</Entry>
|
||||
<Entry>
|
||||
<ref href="mms://wmlive-acl.bbc.co.uk/wms/bbc_ami/radio5/radio5_bb_live_eq1_sw0?BBC-UID=946b4e02390b02b06145033441409bc19d1fef18d0e0d1719262d38394f475d5&SSO2-UID=" />
|
||||
</Entry>
|
||||
<Entry>
|
||||
<ref href="mms://wmlive-acl.bbc.co.uk/wms/bbc_ami/radio5/radio5_bb_live_ep1_sw0?BBC-UID=946b4e02390b02b06145033441409bc19d1fef18d0e0d1719262d38394f475d5&SSO2-UID=" />
|
||||
</Entry>
|
||||
<Entry>
|
||||
<ref href="mms://wmlive-acl.bbc.co.uk/wms/bbc_ami/radio5/radio5_bb_live_eq1_sl0?BBC-UID=946b4e02390b02b06145033441409bc19d1fef18d0e0d1719262d38394f475d5&SSO2-UID=" />
|
||||
</Entry>
|
||||
<Entry>
|
||||
<ref href="mms://wmlive-acl.bbc.co.uk/wms/bbc_ami/radio5/radio5_bb_live_ep1_sl0?BBC-UID=946b4e02390b02b06145033441409bc19d1fef18d0e0d1719262d38394f475d5&SSO2-UID=" />
|
||||
</Entry>
|
||||
|
||||
<Entry>
|
||||
<ref href="mms://wmlive-acl.bbc.co.uk/wms/bbc_ami/radio5/radio5_bb_live_eq1_sl0?BBC-UID=946b4e02390b02b06145033441409bc19d1fef18d0e0d1719262d38394f475d5&SSO2-UID=" />
|
||||
</Entry>
|
||||
<Entry>
|
||||
<ref href="mms://wmlive-acl.bbc.co.uk/wms/bbc_ami/radio5/radio5_bb_live_ep1_sl0?BBC-UID=946b4e02390b02b06145033441409bc19d1fef18d0e0d1719262d38394f475d5&SSO2-UID=" />
|
||||
</Entry>
|
||||
<Entry>
|
||||
<ref href="mms://wmlive-acl.bbc.co.uk/wms/bbc_ami/radio5/radio5_bb_live_eq1_sw0?BBC-UID=946b4e02390b02b06145033441409bc19d1fef18d0e0d1719262d38394f475d5&SSO2-UID=" />
|
||||
</Entry>
|
||||
<Entry>
|
||||
<ref href="mms://wmlive-acl.bbc.co.uk/wms/bbc_ami/radio5/radio5_bb_live_ep1_sw0?BBC-UID=946b4e02390b02b06145033441409bc19d1fef18d0e0d1719262d38394f475d5&SSO2-UID=" />
|
||||
</Entry>
|
||||
<Entry>
|
||||
<ref href="mms://wmlive-acl.bbc.co.uk/wms/bbc_ami/radio5/radio5_bb_live_eq1_sw1?BBC-UID=946b4e02390b02b06145033441409bc19d1fef18d0e0d1719262d38394f475d5&SSO2-UID=" />
|
||||
</Entry>
|
||||
<Entry>
|
||||
<ref href="mms://wmlive-acl.bbc.co.uk/wms/bbc_ami/radio5/radio5_bb_live_ep1_sw1?BBC-UID=946b4e02390b02b06145033441409bc19d1fef18d0e0d1719262d38394f475d5&SSO2-UID=" />
|
||||
</Entry>
|
||||
<Entry>
|
||||
<ref href="mms://wmlive-acl.bbc.co.uk/wms/bbc_ami/radio5/radio5_bb_live_eq1_sl1?BBC-UID=946b4e02390b02b06145033441409bc19d1fef18d0e0d1719262d38394f475d5&SSO2-UID=" />
|
||||
</Entry>
|
||||
<Entry>
|
||||
<ref href="mms://wmlive-acl.bbc.co.uk/wms/bbc_ami/radio5/radio5_bb_live_ep1_sl1?BBC-UID=946b4e02390b02b06145033441409bc19d1fef18d0e0d1719262d38394f475d5&SSO2-UID=" />
|
||||
</Entry>
|
||||
|
||||
<Entry>
|
||||
<ref href="mms://wmlive-acl.bbc.co.uk/wms/bbc_ami/radio5/radio5_bb_live_eq1_sl1?BBC-UID=946b4e02390b02b06145033441409bc19d1fef18d0e0d1719262d38394f475d5&SSO2-UID=" />
|
||||
</Entry>
|
||||
<Entry>
|
||||
<ref href="mms://wmlive-acl.bbc.co.uk/wms/bbc_ami/radio5/radio5_bb_live_ep1_sl1?BBC-UID=946b4e02390b02b06145033441409bc19d1fef18d0e0d1719262d38394f475d5&SSO2-UID=" />
|
||||
</Entry>
|
||||
<Entry>
|
||||
<ref href="mms://wmlive-acl.bbc.co.uk/wms/bbc_ami/radio5/radio5_bb_live_eq1_sw1?BBC-UID=946b4e02390b02b06145033441409bc19d1fef18d0e0d1719262d38394f475d5&SSO2-UID=" />
|
||||
</Entry>
|
||||
<Entry>
|
||||
<ref href="mms://wmlive-acl.bbc.co.uk/wms/bbc_ami/radio5/radio5_bb_live_ep1_sw1?BBC-UID=946b4e02390b02b06145033441409bc19d1fef18d0e0d1719262d38394f475d5&SSO2-UID=" />
|
||||
</Entry>
|
||||
<Entry>
|
||||
<ref href="mms://wmlive-acl.bbc.co.uk/wms/bbc_ami/radio5/radio5_bb_live_eq1_sw0?BBC-UID=946b4e02390b02b06145033441409bc19d1fef18d0e0d1719262d38394f475d5&SSO2-UID=" />
|
||||
</Entry>
|
||||
<Entry>
|
||||
<ref href="mms://wmlive-acl.bbc.co.uk/wms/bbc_ami/radio5/radio5_bb_live_ep1_sw0?BBC-UID=946b4e02390b02b06145033441409bc19d1fef18d0e0d1719262d38394f475d5&SSO2-UID=" />
|
||||
</Entry>
|
||||
<Entry>
|
||||
<ref href="mms://wmlive-acl.bbc.co.uk/wms/bbc_ami/radio5/radio5_bb_live_eq1_sl0?BBC-UID=946b4e02390b02b06145033441409bc19d1fef18d0e0d1719262d38394f475d5&SSO2-UID=" />
|
||||
</Entry>
|
||||
<Entry>
|
||||
<ref href="mms://wmlive-acl.bbc.co.uk/wms/bbc_ami/radio5/radio5_bb_live_ep1_sl0?BBC-UID=946b4e02390b02b06145033441409bc19d1fef18d0e0d1719262d38394f475d5&SSO2-UID=" />
|
||||
</Entry>
|
||||
</ASX>
|
2
tools/readable.bat
Normal file
2
tools/readable.bat
Normal file
@ -0,0 +1,2 @@
|
||||
echo Dumping Database...
|
||||
sqlcmd -U sa -P jubilee -S localhost -d calltree -i c:\tools\db_backup_readable.sql
|
BIN
tools/replace.exe
Normal file
BIN
tools/replace.exe
Normal file
Binary file not shown.
1040
tools/rss.vbs
Normal file
1040
tools/rss.vbs
Normal file
File diff suppressed because it is too large
Load Diff
1060
tools/rssII.vbs
Normal file
1060
tools/rssII.vbs
Normal file
File diff suppressed because it is too large
Load Diff
BIN
tools/sdelete.exe
Normal file
BIN
tools/sdelete.exe
Normal file
Binary file not shown.
3
tools/secondpart.txt
Normal file
3
tools/secondpart.txt
Normal file
@ -0,0 +1,3 @@
|
||||
openproject lagarto
|
||||
checkin c:\dev\lagarto\www\version.ini
|
||||
checkin c:\dev\lagarto\www\version.asp
|
BIN
tools/sgux.exe
Normal file
BIN
tools/sgux.exe
Normal file
Binary file not shown.
BIN
tools/shrike.epub
Normal file
BIN
tools/shrike.epub
Normal file
Binary file not shown.
BIN
tools/sleep.exe
Normal file
BIN
tools/sleep.exe
Normal file
Binary file not shown.
BIN
tools/ssleay32.dll
Normal file
BIN
tools/ssleay32.dll
Normal file
Binary file not shown.
BIN
tools/tar.exe
Normal file
BIN
tools/tar.exe
Normal file
Binary file not shown.
BIN
tools/templates/NewNormal.dot
Normal file
BIN
tools/templates/NewNormal.dot
Normal file
Binary file not shown.
BIN
tools/templates/Normal.dot
Normal file
BIN
tools/templates/Normal.dot
Normal file
Binary file not shown.
BIN
tools/templates/md.dot
Normal file
BIN
tools/templates/md.dot
Normal file
Binary file not shown.
9
tools/testftp.bat
Normal file
9
tools/testftp.bat
Normal file
@ -0,0 +1,9 @@
|
||||
echo open iis45.opentransfer.com> ftp.txt
|
||||
echo martind2>> ftp.txt
|
||||
echo jubilee>> ftp.txt
|
||||
echo cd midnightblack.co.uk>> ftp.txt
|
||||
echo cd backup>> ftp.txt
|
||||
echo put %errorlevel%>> ftp.txt
|
||||
echo quit>> ftp.txt
|
||||
|
||||
ftp -s:ftp.txt
|
16
tools/tidy.conf
Normal file
16
tools/tidy.conf
Normal file
@ -0,0 +1,16 @@
|
||||
clean: yes
|
||||
drop-proprietary-attributes: yes
|
||||
drop-empty-paras: yes
|
||||
output-xhtml: yes
|
||||
input-encoding: utf8
|
||||
output-encoding: utf8
|
||||
join-classes: yes
|
||||
join-styles: yes
|
||||
show-body-only: yes
|
||||
force-output: yes
|
||||
merge-divs: yes
|
||||
quote-marks:yes
|
||||
drop-font-tags:yes
|
||||
bare:yes
|
||||
ascii-chars:yes
|
||||
force-output:yes
|
BIN
tools/tidy.exe
Normal file
BIN
tools/tidy.exe
Normal file
Binary file not shown.
11
tools/tidybook.bat
Normal file
11
tools/tidybook.bat
Normal file
@ -0,0 +1,11 @@
|
||||
@Echo Off
|
||||
Set DirPath=%1
|
||||
|
||||
|
||||
mkdir %DirPath%\errors
|
||||
|
||||
FOR %%i IN (%DirPath%\*.xhtml) DO c:\tools\tidy -file %DirPath%\errors\%%~ni.txt -clean -numeric -asxhtml -m %%i
|
||||
|
||||
|
||||
|
||||
:EXIT
|
44
tools/twitter.js
Normal file
44
tools/twitter.js
Normal file
@ -0,0 +1,44 @@
|
||||
|
||||
|
||||
function getJSONfeed(feedurl){
|
||||
var xmlhttp= WScript.createobject("Msxml2.XMLHTTP.3.0");
|
||||
|
||||
xmlhttp.open( "GET", feedurl, false);
|
||||
xmlhttp.send();
|
||||
|
||||
var rssJSON_Data = eval ("(" + xmlhttp.responseText +")");
|
||||
|
||||
return rssJSON_Data;
|
||||
}
|
||||
|
||||
|
||||
|
||||
function getJSONfeedDUMP(feedurl){
|
||||
var xmlhttp= WScript.createobject("Msxml2.XMLHTTP.3.0");
|
||||
|
||||
xmlhttp.open( "GET", feedurl, false);
|
||||
xmlhttp.send();
|
||||
|
||||
|
||||
WScript.Echo(xmlhttp.responseText);
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
var twitfeed =getJSONfeed("http://twitter.com/statuses/public_timeline.json");
|
||||
|
||||
|
||||
|
||||
WScript.Echo(twitfeed[0].user.name);
|
||||
|
||||
|
||||
for (var i = 0; i < twitfeed.length; i++)
|
||||
{
|
||||
WScript.Echo(twitfeed[i].user.name);
|
||||
WScript.Echo(twitfeed[i].text);
|
||||
WScript.Echo("");
|
||||
|
||||
}
|
||||
|
BIN
tools/versioninc.exe
Normal file
BIN
tools/versioninc.exe
Normal file
Binary file not shown.
BIN
tools/wget.exe
Normal file
BIN
tools/wget.exe
Normal file
Binary file not shown.
BIN
tools/wput.exe
Normal file
BIN
tools/wput.exe
Normal file
Binary file not shown.
BIN
tools/zip.exe
Normal file
BIN
tools/zip.exe
Normal file
Binary file not shown.
BIN
tools/zipcloak.exe
Normal file
BIN
tools/zipcloak.exe
Normal file
Binary file not shown.
BIN
tools/zipnote.exe
Normal file
BIN
tools/zipnote.exe
Normal file
Binary file not shown.
BIN
tools/zipsplit.exe
Normal file
BIN
tools/zipsplit.exe
Normal file
Binary file not shown.
Loading…
Reference in New Issue
Block a user