|
The Tertiary Education Portal is a catalogue of information relevant to learners engaged in or considering a tertiary education. Phase 2 of Save as PDF adds the ability to convert selected information resources referenced on the portal into a PDF, downloaded to the student’s desk top. On this page… (hide) 1. BenefitsUsing pdf2you, the HTML on a web site becomes the one authoritative source of content. Instead of having to put up a separate PDF version for visitors to download, sites can let visitors generate a PDF dynamically. This ensures that the web content and the PDF always contain the same information. It saves time and makes it easier to update the site’s content. It becomes unnecessary to maintain 2 or more versions of the same information and eliminates the risk of inadvertently publishing different versions of the same content. For sites that conform to the Egovernment web guidelines, pdf2you “just works”. Where sites have a lot of PDF-based information, using pdf2you simplifies the task of migrating to comply with these guidelines. As the PDF-based content is migrated to HTML, the PDF versions can simply be discarded. By using the metalogue to describe resources that are PDF-able, other portals can potentially take advantage of the service in future. It also means all metadata about the resource is held in once place. 2. Working examplesPdf2you is a web service that takes a collection of web pages and reformats them into PDF, laid out in a style suitable for printing. This frees individual site managers from the need to maintain separate HTML and PDF versions of content, with the risk that the 2 sources contain different information. Resources tagged as PDF-able will look like the following examples. The This Site?:images/pdficonsmall.gif icons below link to the pdf2you production server. Clicking on the icon will generate a PDF of the target page and all linked pages. Some of these are quite long documents. (2 levels of nested links)
(2 levels of nested links)
(don’t follow links)
By default, pdf2you follows links to pages referred to on the selected page, within the same site. The last example overrides this behaviour and returns a PDF of the selected page only. The default behaviour expected on the portal is to follow links. 3. What pdf2you doesThe following diagram shows what happens behind the scenes when a visitor asks for a PDF. The pdf2you service generates the document dynamically, using the web page’s HTML code as the source.
In essence, pdf2you separates HTML content from presentation, converts the content’s HTML markup into typesetting markup, then typesets the result. 4. Implications for the tertiary portalThe following diagram shows how each actor with a role in the portal, and in sites to which the portal refers, will be affected. The main requirement is that the pdf2you service must be easy for everyone involved.
It shows a distributed process where each web site manager takes responsibility for deciding how best to make use of the pdf2you service. 5. Process in more detailLet’s describe what this means for each actor in the process.
Web managers can also use <span … > tags instead of <div … > and class names instead of id. The examples at the top of the page use site-specific handlers; they required no changes to the original sites.
6. Advanced featuresThe pdf2you service sets defaults for how the resulting PDF is laid out. A web manager can define settings appropriate for a particular site using <meta name=‘pdfwatermark’ content=‘draft’ /> will print “draft” as a watermark behind every page of the PDF. 7. How to decide PDF-abilityThe following are things to look for when assessing whether a resource available through the portal is PDF-able:
Some sites may prefer to use pdf2you in place of “Printable View” links; others, including this one, use the printable view as the source for the PDF. |
|