Subject locator previews

From WandoraWiki
(Difference between revisions)
Jump to: navigation, search
(Supported preview formats)
(Examples)
Line 301: Line 301:
  
 
Wandora user has created a topic '''Adventure 3''' with a subject locator '''http://www.ifarchive.org/if-archive/games/zcode/adv550.z8'''. It addresses a playable Z machine application. User opens the topic with Tradition topic panel by double clicking the topic. Next Wandora user toggles the subject locator preview on by cliking the icon right to the subject locator field. Wandora opens up the subject locator preview, a playable Adventure 3, the 550 point version of Adventure aka Colossal Cave, by Dave Platt, from 1979, converted to C99 and compiled as Z-code with a modified vbccz compiler by Arthur O'Dwyer.
 
Wandora user has created a topic '''Adventure 3''' with a subject locator '''http://www.ifarchive.org/if-archive/games/zcode/adv550.z8'''. It addresses a playable Z machine application. User opens the topic with Tradition topic panel by double clicking the topic. Next Wandora user toggles the subject locator preview on by cliking the icon right to the subject locator field. Wandora opens up the subject locator preview, a playable Adventure 3, the 550 point version of Adventure aka Colossal Cave, by Dave Platt, from 1979, converted to C99 and compiled as Z-code with a modified vbccz compiler by Arthur O'Dwyer.
 +
 +
 +
[[File:sl_preview_example_zmachine.png|center]]

Revision as of 20:29, 5 December 2015

If you just popped into this page, notice the page is still a bit unfinished. Come back within few days...

Wandora's Traditional topic panel views subject locator resources if the View subject locators option is enabled. The menu option is available at View > Traditional w ... > View subject locators. Also, right to the subject locator field is an icon button toggle to switch subject locator previews on and off. Wandora doesn't view subject locator resources by default.

When subject locator preview is enabled, Wandora checks if there is a valid subject locator URI and tries to figure out mimetype for the subject locator resource. Once the mimetype is resolved, Wandora chooses a viewer for the resource and initializes the viewer. Wandora supports

  • Local resources that are addressed by a file URI.
  • External resources addressed by an URL. Usually URL's protocol is http or https.
  • Internal data URI resources where the data is encoded inside the URI itself.

Supported preview formats

Wandora selects a viewer for the subject locator resouce using resources mimetype. At the moment Wandora has a viewer for images, videos, web pages etc. Next table lists all viewers and supported formats (2015-11-13).

Mimetype(s) File extension(s) Handler Description and notes

audio/midi
application/x-midi

mid
midi
rmf

AudioMidi

Midi audio player. The midi player is based on Java's midi system.


audio/x-flac

flac

AudioFlac

Flac audio player. Wandora's flac audio player uses Daniel Becker's Javamod player. The Javamod player is embedded in Wandora and requires no extra installations.



audio/ogg
application/ogg

ogg
ogx

AudioOgg

Ogg Vorbis audio player. Wandora's ogg audio player uses Daniel Becker's Javamod player.



audio/x-sidtune
audio/sidtune
audio/x-psid
audio/psid
audio/prs.sid
audio/x-sid

sid

AudioSid

Sid tune audio player. See also The High Voltage SID Collection. Wandora's sid tune audio player uses Daniel Becker's Javamod player.



audio/mod
audio/xm
audio/wow
audio/it
audio/stm
audio/s3m
audio/xm

mod
wow
it
stm
s3m
xm

AudioMod

Mod audio player. Wandora's mod audio player uses Daniel Becker's Javamod player. See also The Mod Archive.



audio/x-wav
audio/x-aiff
audio/basic

wav
aif
au

AudioWav

Basic audio sample player for wav and aiff files. Basic audio sample player uses Java's native audio libraries.


audio/mpeg
audio/x-mpeg-3
audio/mpeg3

mp3

AudioMP3v2

Audio MP3 player. Wandora's mod audio player uses Daniel Becker's Javamod player. The Javamod player is embedded in Wandora and requires no additional installations.



image/*

gif
jpg
jpeg
tif
tiff
png

Image

Image viewer. Even though the viewer captures all image mimetypes, viewer supports only image types supported by Java.



application/pdf

pdf

ApplicationPDF

PDF viewer.



text/rtf
application/rtf

rtf

TextRTF

RTF viewer.



text/html

html
htm

TextHTML

General web viewer uses JavaFX. If Java doesn't support JavaFX, the web viewer doesn't work.




application/xml
text/xml

xml

ApplicationXML

General XML viewer. The XML is viewed as text.



text/*

txt
text
asm
asp
bat
c
....

Text

General text viewer that captures all text type mimetypes and many text file formats.



video/mp4
video/x-flv
video/x-javafx
application/vnd.apple.mpegurl
audio/mpegurl
audio/x-m4a
video/x-m4v

mp4
flv
fxm
m3u8
m4a
m4v

VideoMp4

Video player can view MP4 videos, for example. The video player requires JavaFX. Oracle's Java 8 includes JavaFX by default.



application/x-zmachine
application/x-zmachine-1
application/x-zmachine-2
application/x-zmachine-3
application/x-zmachine-4
application/x-zmachine-5
application/x-zmachine-6
application/x-zmachine-7
application/x-zmachine-8 application/x-blorb

z1
z2
z3
z4
z5
z6
z7
z8
zblorb
zlb

ApplicationZMachine

Viewer runs interactive fiction files in Z machine format and the user can play the games. Viewer is based on Z-Machine Preservation Project (ZMPP) created by Wei-ju Wu. Wandora fork is avalable in GitHub as a separate project. See The Interactive Fiction Archive for playable games.





Values in Handler column are Java classes in package org.wandora.application.gui.previews.formats.

Examples

Wandora user has created a topic Adventure 3 with a subject locator http://www.ifarchive.org/if-archive/games/zcode/adv550.z8. It addresses a playable Z machine application. User opens the topic with Tradition topic panel by double clicking the topic. Next Wandora user toggles the subject locator preview on by cliking the icon right to the subject locator field. Wandora opens up the subject locator preview, a playable Adventure 3, the 550 point version of Adventure aka Colossal Cave, by Dave Platt, from 1979, converted to C99 and compiled as Z-code with a modified vbccz compiler by Arthur O'Dwyer.


Sl preview example zmachine.png
Personal tools