Commit f6415fba authored by Pablo Marcos's avatar Pablo Marcos Committed by Carl Schwan
Browse files

Search, signing, removed files, small fixes

parent 7558c4ea
#! /usr/bin/env bash
$EXTRACTRC --no-unescape-xml --tag="title" --tag="date" --tag="fullstory" news.rdf > rc.cpp
$XGETTEXT rc.cpp -o $podir/okular-kde-org_www.pot
$XGETTEXT_WWW -j *.php *.inc -o $podir/okular-kde-org_www.pot
.distribution-table td {
vertical-align: top;
padding: 5px;
}
.table {
border-spacing: 0;
border-collapse: collapse;
}
.packaging {
flex: 1 1 auto;
}
.flexbox {
display: flex;
flex-flow: row
}
......@@ -4,31 +4,61 @@ baseURL: https://okular.kde.org/
defaultcontentlanguage: en
enableGitInfo: true
enableRobotsTXT: true
languagecode: en
languages:
menu:
main:
- name: Format Support
url: /applications/
weight: 1
- name: Download
url: /download/
weight: 2
- name: Build It
url: /build-it/
weight: 3
- name: News
url: /news/
weight: 4
- name: FAQ
url: /faq/
weight: 5
- name: Contact
url: /contact/
weight: 6
- name: Donate
url: https://kde.org/donations
weight: 7
en:
contentDir: content/
languageCode: en
languageName: English
menu:
main:
- name: Format Support
url: /applications/
weight: 1
- name: Download
url: /download/
weight: 2
- name: Build It
url: /build-it/
weight: 3
- name: News
url: /news/
weight: 4
- name: FAQ
url: /faq/
weight: 5
- name: Contact
url: /contact/
weight: 6
- name: Donate
url: https://kde.org/donations
weight: 7
es:
contentDir: content/
languageCode: es
languageName: Español
menu:
main:
- name: Formatos Soportados
url: /applications/
weight: 1
- name: Descargas
url: /download/
weight: 2
- name: Constrúyelo
url: /build-it/
weight: 3
- name: Noticias
url: /news/
weight: 4
- name: FAQ
url: /faq/
weight: 5
- name: Contacto
url: /contact/
weight: 6
- name: Donaciones
url: https://kde.org/donations
weight: 7
outputs:
home:
- HTML
......
---
title: KDE Community Home
title: Okular - The Universal PDF Reader
layout: home
sassFiles:
- sass/index.scss
......
---
layout: applications
title: Document Format Handlers Status
intro: Okular supports a wide variety of document formats and use cases. This page always refers to the stable series of Okular, currently KDE 4.5.x
intro: Okular supports a wide variety of document formats and use cases. This page always refers to the stable series of Okular, currently Okular 20.12
sassFiles:
- /sass/table.scss
......
......@@ -6,8 +6,10 @@ You can contact the Okular team in many ways:
* Mailing list: To coordinate okular development, we use the [okular-devel mailing list](https://mail.kde.org/mailman/listinfo/okular-devel) at kde.org. You can use it to talk about the development of the core application, and feedback about existent or new backends is appreciated.
* IRC: For general chat, we use the [IRC #okular channel](irc://irc.kde.org/#okular) on the [Freenode network](http://www.freenode.net/). Some of the Okular developers can be found hanging there.
* IRC: For general chat, we use the IRC [#okular](irc://irc.kde.org/#okular) and [#kde-devel](irc://irc.kde.org/#kde-devel) on the [Freenode network](http://www.freenode.net/). Some of the Okular developers can be found hanging there.
* Matrix: The aforementioned chat can also be accessed over the Matrix network via [#okular:kde.org](https://matrix.to/#/#okular:kde.org).
* Forum: If you prefer to use a forum you can use the [Okular forum](http://forum.kde.org/viewforum.php?f=251) inside the bigger [KDE Community Forums](http://forum.kde.org/).
* Bugs and Wishes: Bugs and Wishes should be reported to the KDE bug tracker at [http://bugs.kde.org](http://bugs.kde.org/).
* Bugs and Wishes: Bugs and Wishes should be reported to the [KDE bug tracker](https://bugs.kde.org/). If you want to help, you can find a list of top bugs [here](https://community.kde.org/Okular).
<?php
include_once ("functions.inc");
$translation_file = "okular-kde-org";
$page_title = i18n_noop('Contact');
$site_root = "./";
include("header.inc");
?>
<p>
<?php i18n("You can contact the Okular team in many ways.")?>
</p>
<h3><?php i18n("Mailing list")?></h3>
<p>
<?php i18n("We have a mailing list to coordinate the Okular development. The mailing list
is <a href='https://mail.kde.org/mailman/listinfo/okular-devel'>okular-devel</a>
and hosted at kde.org.")?>
<br />
<?php i18n("You can use it to talk about the development of the core application, but also
feedback about existent or new backends is appreciated.")?>
</p>
<h3><?php i18n("IRC")?></h3>
<p>
<?php i18n("We have also an IRC channel where talk. The channel is
<a href='irc://irc.kde.org/#okular'>#okular</a>, on the
<a href='http://www.freenode.net'>Freenode</a> network.")?>
<br />
<?php i18n("Usually some of the Okular developers hang there.")?>
</p>
<h3><?php i18n("Forum")?></h3>
<p>
<?php i18n("If you prefer using a forum you can use <a href='http://forum.kde.org/viewforum.php?f=251'>the Okular forum</a> inside the bigger <a href='http://forum.kde.org/'>KDE Community Forums</a>.")?>
</p>
<h3><?php i18n("Bugs and Wishes")?></h3>
<p>
<?php i18n("Bugs and Wishes should be reported to the KDE bug tracker at <a href='http://bugs.kde.org'>http://bugs.kde.org</a>.")?>
</p>
<?php
include "footer.inc";
?>
......@@ -2,6 +2,8 @@
layout: download
title: Download
intro: Okular is availaible as a precompiled package in a wide range of platforms. You can check the package status for your linux distro on the right or keep reading for info on other Operating Systems
sassFiles:
- /sass/download.scss
options:
- name: Linux
image: /images/tux.png
......
<?php
include_once ("functions.inc");
$translation_file = "okular-kde-org";
$page_title = i18n_noop('Download');
$site_root = "./";
$site_menus = 1;
include("header.inc");
?>
<h3><?php i18n("Binary packages")?></h3>
<p>
<?php i18n("The recommended way for end-user installations of Okular is using binary packages:")?>
</p>
<ul>
<li><?php i18n("For GNU/Linux and the BSDs use the package manager to find the Okular package (might be part of the broader kdegraphics package) and install it.")?></li>
<li><?php i18n("For Windows have a look at the <a href='https://community.kde.org/Windows'>KDE on Windows Initiative</a> webpage for information on how to install KDE Software on Windows. The stable release is available on the <a href='https://www.microsoft.com/store/apps/9N41MSQ1WNM8'>Microsoft Store</a>. There are <a href='https://binary-factory.kde.org/job/Okular_Nightly_win64/'>experimental nightly builds</a> as well. Please test and send patches.")?></li>
<li><?php i18n("For macOS have a look at the <a href='https://community.kde.org/Mac'>KDE on macOS</a> webpage for information on how to install KDE Software on macOS.")?></li>
</ul>
<a href="https://repology.org/metapackage/okular/versions"><img src="https://repology.org/badge/vertical-allrepos/okular.svg" alt="<?php i18n("Packaging status")?>"></a>
<h3><?php i18n("Compiling Okular from source")?></h3>
<p>
<?php i18n("If you want to compile Okular, you need to have an already set up compilation environment.")?>
<br />
<?php i18n("Distributions should provide development packages usable for compiling KDE applications.")?>
<br/>
<?php print i18n_var("In case you want to compile the development version of Okular, please refer to <a href='%1'>Build from source</a> at KDE's Community Wiki.", "https://community.kde.org/Guidelines_and_HOWTOs/Build_from_source")?>
</p>
<p>
<?php i18n("If you are interested in stable tarballs of Okular visit the
<a href='http://download.kde.org/stable/applications/'>KDE Applications download folder</a> and download the okular tarball.")?>
</p>
<h3><?php i18n("Optional packages")?></h3>
<p>
<?php i18n("There are some optional package you could install in order to have some more functionalities in Okular.")?>
<br />
<?php i18n("Some are already packaged for your distro, but other maybe not. So, if possible, use the packages your distro ships.")?>
</p>
<h4><?php i18n("Poppler (PDF backend)")?></h4>
<p>
<?php i18n("To compile the PDF backend, you need the Poppler library (<a href='http://poppler.freedesktop.org'>http://poppler.freedesktop.org</a>).")?>
<br />
<?php i18n("The minimum version required is poppler 0.24")?>
</p>
<h4><?php i18n("Libspectre (PostScript backend)")?></h4>
<p>
<?php i18n("In order to compile and use the PostScipt (PS) backend, you need libspectre &gt;= 0.2.")?>
<br />
<?php i18n("If your distro does not package libspectre, or the packaged version is not enough, you can download it from <a href='http://libspectre.freedesktop.org'>http://libspectre.freedesktop.org</a>.")?>
</p>
<h4><?php i18n("DjVuLibre (DjVu backend)")?></h4>
<p>
<?php i18n("To compile the DjVu backend, you need DjVuLibre &gt;= 3.5.17.")?>
<br />
<?php i18n("If your distro does not package DjVuLibre, or the packaged version is not enough, you can download it from <a href='http://djvulibre.djvuzone.org'>http://djvulibre.djvuzone.org</a>.")?>
</p>
<h4><?php i18n("libTIFF (TIFF/fax backend)")?></h4>
<p>
<?php i18n("libTIFF is needed to compile the TIFF/fax backend. Currently there is no minimum required version, so any quite recent version of the library available from your distro should work. In case of troubles with that, do not hesitate to contact the <a href='contact.php'>Okular developers</a>.")?>
</p>
<h4><?php i18n("libCHM (CHM backend)")?></h4>
<p>
<?php i18n("libCHM is needed to compile the CHM backend. Currently there is no minimum required version, so any quite recent version of the library available from your distro should work. In case of troubles with that, do not hesitate to contact the <a href='contact.php'>Okular developers</a>.")?>
</p>
<h4><?php i18n("Libepub (EPub backend)")?></h4>
<p>
<?php i18n("In order to compile and use the EPub backend, you need the epub library.")?>
<br />
<?php i18n("If your distro does not package libepub, or the packaged version is not enough, you can download it from <a href='http://sourceforge.net/projects/ebook-tools'>http://sourceforge.net/projects/ebook-tools</a>.")?>
</p>
<!--
other generators here?
-->
<h3>Okular</h3>
<p>
<?php i18n("You can download and compile Okular this way:")?>
</p>
<pre>
git clone https://invent.kde.org/graphics/okular.git
cd okular
mkdir build
cd build
cmake -DCMAKE_INSTALL_PREFIX=/path/to/your/install/dir ..
make
make install
</pre>
<p>
<?php i18n("If you install Okular in a different path than your system install directory it is possible that you need to run")?>
</p>
<pre>
source build/prefix.sh; okular
</pre>
<p>
<?php i18n("so that the correct Okular instance and libraries are picked up.")?>
</p>
<?php
include("footer.inc");
?>
<?php
include_once ("functions.inc");
$translation_file = "okular-kde-org";
$page_title = i18n_noop('Frequently Asked Questions');
$site_root = "./";
include("header.inc");
?>
<?php
$faq = new FAQ();
$faq->addSection( i18n_var("General usage") );
$faq->addQuestion( i18n_var("Using Ubuntu, I cannot read CHM and EPub documents,
even if I have okular-extra-backends and libchm1 installed. Why?"),
i18n_var("Ubuntu (thus Kubuntu as well) packages of Okular are compiled without
the support for these two formats.").
"<br /><br />".
i18n_var("The reason is explained in the following Launchpad report: ").
"<a href=\"https://bugs.launchpad.net/kdegraphics/+bug/277007\">https://bugs.launchpad.net/kdegraphics/+bug/277007</a>
.", "ubuntuchmepub" );
$faq->addQuestion( i18n_var("Why the speak options in the Tools menu are grayed out?"), i18n_var("Because you don't have a speech service on your system, install the Qt Speech library and they should be enabled"), "speaktoolsdisabled");
$faq->addQuestion( i18n_var("Some characters are not rendered and when enabling debug some lines mention 'Missing language pack for xxx'"), i18n_var("Install the poppler-data package"), "missingpopplerdata");
$faq->show();
?>
<?php
include "footer.inc";
?>
<?php
include_once ("functions.inc");
$translation_file = "okular-kde-org";
$page_title = i18n_noop('Document format handlers status');
$site_root = "./";
$site_menus = 1;
include("header.inc");
function GetStatus( $Num ) {
if ( $Num === 0 ) {
$Status = 'FormatsTodo';
$Title = Null;
$AltText = '-';
} elseif ( $Num === 1 ) {
$Status = 'FormatsInProgress';
$Title = Null;
$AltText = 'wip';
} elseif ( $Num === 2 ) {
$Status = 'FormatsDone';
$Title = Null;
$AltText = 'yes';
} elseif ( $Num === -1 ) { // simulating header
$Status = 'FormatsHeader';
$Title = Null;
$AltText = Null;
} elseif ( is_null( $Num ) ) {
$Status = Null;
$Title = Null;
$AltText = Null;
}
return array( $Status, $Title, $AltText );
}
function status_row() {
$Args = func_get_args();
print " <tr>\n";
foreach( $Args as $Arg ) {
$Title = Null;
$Status = Null;
if ( is_array( $Arg ) ) {
$D = GetStatus( $Arg[0] );
$Status = $D[0];
$Title = $Arg[1];
$AltText = $D[2];
} else {
$D = GetStatus( $Arg );
$Status = $D[0];
$Title = $D[1];
$AltText = $D[2];
}
if ( !$Title && !is_null($Status) ) {
$Title = "<img src=\"images/$Status.png\" alt=\"$AltText\" />";
}
print " <td class=\"$Status\">$Title</td>\n";
}
print " </tr>\n";
}
?>
<h3><?php i18n("Document Format Handlers")?></h3>
<p><?php i18n("This page always refers to the stable series of Okular (currently KDE <b>4.5.x</b>).")?></p>
<table>
<?php
status_row( Array(-1, i18n_var('Features/Formats')), Array(-1, 'PDF'), Array(-1, 'PS'), Array(-1, 'Tiff'), Array(-1, 'CHM'), Array(-1, 'DjVu'), Array(-1, 'Images'), Array(-1, 'DVI'), Array(-1, 'XPS'), Array(-1, 'ODT'), Array(-1, 'Fiction Book'), Array(-1, 'Comic Book'), Array(-1, 'Plucker'), Array(-1, 'EPub'), Array(-1, 'Fax'), Array(-1, 'Mobipocket') );
status_row( Array(Null, i18n_var('Main library used')), Array(Null, '<a href="http://poppler.freedesktop.org">poppler</a>'), Array(Null, '<a href="http://libspectre.freedesktop.org/">libspectre</a>'), Array(Null, '<a href="http://www.remotesensing.org/libtiff">libTIFF</a>'), Array(Null, '<a href="http://www.jedrea.com/chmlib">chmlib</a>'), Array(Null, '<a href="http://djvulibre.djvuzone.org">DjVuLibre</a>'), Null, Null, Null, Null, Null, Null, Null, Array(Null, '<a href="http://sourceforge.net/projects/ebook-tools">epub</a>'), Null, Null);
status_row( Array(Null, i18n_var('Loading')), 2,2,2,2,2,2,2,2,1,1,2,1,2,2,2);
status_row( Array(Null, i18n_var('Rendering')), 2,2,2,2,2,2,2,1,2,2,2,1,2,2,2);
status_row( Array(Null, i18n_var('Threaded rendering')), 2,2,2,2,2,2,0,2,0,0,2,0,0,2,0);
status_row( Array(Null, i18n_var('Document information')), 2,2,1,1,2,0,2,2,2,2,Null,1,2,0,2);
status_row( Array(Null, i18n_var('TOC')), 2,Null,Null,2,2,Null,2,2,2,2,Null,0,2,Null,Null);
status_row( Array(Null, i18n_var('Font information')), 2,Null,Null,Null,Null,Null,2,0,0,0,Null,0,0,Null,0);
status_row( Array(Null, i18n_var('Text extraction')), 2,Null,Null,1,1,Null,2,2,2,2,Null,0,2,Null,2);
status_row( Array(Null, i18n_var('Links')), 2,Null,Null,2,2,Null,2,0,2,2,Null,0,2,Null,2);
status_row( Array(Null, i18n_var('Paper Size')), Null,0,Null,Null,Null,Null,0,0,Null,Null,Null,0,Null,Null,Null);
status_row( Array(Null, i18n_var('Printing')), 2,2,2,0,2,2,2,2,2,2,2,0,2,2,2);
status_row( Array(Null, i18n_var('Text Exporting')), 2,Null,Null,0,0,Null,0,2,2,2,Null,2,2,Null,2);
status_row( Array(Null, i18n_var('<b>Other Features</b>')), Null,Null,Null,Null,Null,Null,Null,Null,Null,Null,Null,Null,Null,Null,Null);
status_row( Array(Null, i18n_var('Annotations')), 1,Null,Null,Null,1,Null,Null,0,1,0,Null,0,Null,Null,Null);
status_row( Array(Null, i18n_var('Forms')), 1,Null,Null,Null,Null,Null,Null,Null,0,0,Null,0,Null,Null,Null);
status_row( Array(Null, i18n_var('Inverse search')), Array(2, 'pdfsync, synctex'),Null,Null,Null,Null,Null,2,Null,Null,0,Null,0,Null,Null,Null);
status_row( Array(Null, i18n_var('Document Rights')), 2,Null,Null,Null,Null,Null,Null,0,Null,0,Null,0,Null,Null,0);
status_row( Array(Null, i18n_var('Embedded files')), 2,Null,Null,Null,Null,Null,Null,0,Null,0,Null,0,Null,Null,Null);
status_row( Array(Null, i18n_var('Sounds')), 2,Null,Null,Null,Null,Null,Null,0,0,0,Null,0,0,Null,Null);
status_row( Array(Null, i18n_var('Movies')), 1,Null,Null,Null,Null,Null,Null,0,0,0,Null,0,0,Null,Null);
?>
</table>
<?php
include("footer.inc");
?>
<?php
// $page_title ='home';
$translation_file = "okular-kde-org";
$site_root = "./";
$site_menus = 1;
include("header.inc");
?>
<h2><?php i18n("What is it?")?></h2>
<div align="right">
<img src="images/okular.png" align="right" width="150" height="150" alt="<?php i18n("Okular logo")?>" hspace="10" vspace="10" />
</div>
<p>
<?php print i18n_var("Okular is a universal document viewer developed by <a href='%1'>KDE</a>. Okular works on multiple platforms, including but not limited to Linux, Windows, macOS, *BSD, etc.", "https://www.kde.org/")?>
<br /><br />
<?php print i18n_var("The last stable release is Okular %1.", "20.12")?>
</p>
<p>
<?php i18n("Okular combines the excellent functionalities with the versatility of supporting different kind of documents, like PDF, Postscript, DjVu, CHM, XPS, ePub and others.")?>
</p>
<p>
<?php i18n("The <a href='formats.php'>document format handlers page</a> has a chart describing in more detail the supported formats and the features supported in each of them.")?>
</p>
<p>
<?php i18n("If you are interested in contributing to Okular, please <a href='contact.php'>contact us</a>.")?>
</p>
<p>
<?php i18n("If you do not want or can not contribute, testers are fully welcome, so follow <a href='download.php'>these instructions</a> to see how to download and build Okular.")?>
</p>
<div align="right">
<a href="http://pdfreaders.org/" target="_blank">
<img src="images/pdfreaders.org.png" align="right" width="136" height="33" alt="pdfreaders.org" hspace="10" vspace="10" />
</a>
</div>
<p>
<?php i18n("Okular is a <a href='http://pdfreaders.org/' target='_blank'>Free Software PDF reader</a>.")?>
</p>
<?php
kde_general_news("./news.rdf", 5, true);
?>
<!--
MISSING TEXTS...
-->
<?php
include("footer.inc");
?>
<?php
include_once ("functions.inc");
$translation_file = "okular-kde-org";
$page_title = i18n_noop('Development News');
$site_root = "./";
include("header.inc");
?>
<?php
kde_general_news("./news.rdf", 32, false);
?>
<?php
include "footer.inc";
?>
<?php
include_once ("functions.inc");
$translation_file = "okular-kde-org";
$site_root = "./";
$page_title = i18n_noop('Screenshots');
include("header.inc");
?>
<p><?php i18n("Some images of Okular &quot;in action&quot;...")?></p>
<h3><?php i18n("Backends in action")?></h3>
<p><?php i18n("Here you can see some of the Okular backends in action on files.")?></p>
<table border="0" cellspacing="0" cellpadding="0" width="100%">
<tr valign="bottom">
<td align="center">
<p><a href="images/screenies/okular-backend-pdf-1.png"><img src="images/screenies/okular-backend-pdf-1.thumb.png" width="110" height="87" alt="" /></a></p>
<div class="table_box" style="width: 100%; font-size: 0.8em;"><?php i18n("PDF backend")?></div>
</td>
<td align="center">
<p><a href="images/screenies/okular-backend-ps-1.png"><img src="images/screenies/okular-backend-ps-1.thumb.png" width="110" height="87" alt="" /></a></p>
<div class="table_box" style="width: 100%; font-size: 0.8em;"><?php i18n("PostScript backend")?></div>
</td>
<td align="center">
<p><a href="images/screenies/okular-backend-djvu-1.png"><img src="images/screenies/okular-backend-djvu-1.thumb.png" width="110" height="87" alt="" /></a></p>
<div class="table_box" style="width: 100%; font-size: 0.8em;"><?php i18n("DjVu backend")?></div>
</td>
<td align="center">
<p><a href="images/screenies/okular-backend-tiff-1.png"><img src="images/screenies/okular-backend-tiff-1.thumb.png" width="110" height="86" alt="" /></a></p>
<div class="table_box" style="width: 100%; font-size: 0.8em;"><?php i18n("TIFF/fax backend")?></div>
</td>
</tr>
<tr valign="top">
<td align="center">
<p><a href="images/screenies/okular-backend-pdf-embedded.png"><img src="images/screenies/okular-backend-pdf-embedded.thumb.png" width="110" height="87" alt="" /></a></p>
<div class="table_box" style="width: 100%; font-size: 0.8em;"><?php i18n("Extraction of embedded files")?></div>
</td>
<td align="center">
<p><a href="images/screenies/okular-textselection.png"><img src="images/screenies/okular-textselection.thumb.png" width="110" height="87" alt="" /></a></p>
<div class="table_box" style="width: 100%; font-size: 0.8em;"><?php i18n("Word processor-like text selection")?></div>
</td>
<td align="center">
<p><a href="images/screenies/okular-reviewmode.png"><img src="images/screenies/okular-reviewmode.thumb.png" width="110" height="86" alt="" /></a></p>
<div class="table_box" style="width: 100%; font-size: 0.8em;"><?php i18n("Review mode")?></div>
</td>
<td align="center">
<p><a href="images/screenies/okular-annotations.png"><img src="images/screenies/okular-annotations.thumb.png" width="110" height="86" alt="" /></a></p>
<div class="table_box" style="width: 100%; font-size: 0.8em;"><?php i18n("Annotations (enter in Tools -> Review)")?></div>
</td>
</tr>
</table>
<?php
include "footer.inc";
?>
---
title: "Search Results"
sitemap:
priority : 0.1
layout: "search"
url: search
---
This file exists solely to respond to /search URL with the related `search` layout template.
No content shown here is rendered, all content is based in the template layouts/page/search.html
Setting a very low sitemap priority will tell search engines this is not important content.
This implementation uses Fusejs, jquery and mark.js, and is based on [https://gist.github.com/eddiewebb/735feb48f50f0ddd65ae5606a1cb41ae](https://gist.github.com/eddiewebb/735feb48f50f0ddd65ae5606a1cb41ae)