Skip to content

Commit

Permalink
Portuguese images info.
Browse files Browse the repository at this point in the history
  • Loading branch information
facundobatista committed Jun 29, 2021
1 parent 6748258 commit 57e2369
Show file tree
Hide file tree
Showing 17 changed files with 457 additions and 3 deletions.
14 changes: 11 additions & 3 deletions imagtypes.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -80,11 +80,19 @@ ay:

# Portuguese
pt:
tarbig: # we aim for 10-20 GB
tarbig:
type: tarball
windows: True
page_limit: 5000000
image_reduction: [10, 20, 60, 10]
page_limit: null # all of them
image_reduction: [20, 20, 60, 0]
name: Super Tarball

tarmed:
type: tarball
windows: True
page_limit: 400000
image_reduction: [5, 15, 30, 50]
name: Tarball

beta:
type: tarball
Expand Down
3 changes: 3 additions & 0 deletions languages.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,9 @@ pt:
]
portal_index: Portal:Índice
python_docs: https://docs.python.org/pt-br/3.8/archives/python-3.8.5-docs-html.tar.bz2
language_name:
es: Portugués
en: Portuguese

fr:
include: [
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
46feaf9f7d4d977bc56919c7d349eeeb cdpedia-pt-0.9.0-20210621-tarbig.tar.xz
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
f813a9e71df0bdceb2418ed71fa9690cb04e69d2 cdpedia-pt-0.9.0-20210621-tarbig.tar.xz
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
10525431380
Empty file.
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
a9e78b79372964a3877ae6eb31b54522 cdpedia-pt-0.9.0-20210621-tarmed.tar.xz
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
92a55b02009362c9a63407b9e71739e21f41b52b cdpedia-pt-0.9.0-20210621-tarmed.tar.xz
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
3824501060
Empty file.
1 change: 1 addition & 0 deletions web/images/pt/current
2 changes: 2 additions & 0 deletions web/index.en.ay.html
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,8 @@

<a href="index.en.es.html">Spanish</a>

<a href="index.en.pt.html">Portuguese</a>

</div>
</div>
</div>
Expand Down
2 changes: 2 additions & 0 deletions web/index.en.es.html
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,8 @@

<a href="index.en.es.html">Spanish</a>

<a href="index.en.pt.html">Portuguese</a>

</div>
</div>
</div>
Expand Down
213 changes: 213 additions & 0 deletions web/index.en.pt.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,213 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html style="height: 100%" lang="es"><head>
<title>CDPedia</title>
<meta content="width=device-width, initial-scale=1.0" name="viewport">
<meta content="CDPedia - wikipedia offline" name="description">
<meta content="El Equipo de CDPedia" name="author">
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">

<link href="css/bootstrap.css" media="screen" rel="stylesheet" type="text/css">
<link href="css/bootstrap-docs.css" media="screen" rel="stylesheet" type="text/css">
<link href="css/css.css" rel="stylesheet" type="text/css">
<link rel="shortcut icon" href="img/favicon.ico">
</head>
<body style="height: 100%">

<header>
<!-- language selectors -->
<div class="select-lang">
<div class="dropdown">
<button class="dropdown-btn">Page language</button>
<div class="dropdown-content">
<!-- these depend on how many templates we have in the project -->

<a href="index.es.pt.html">Castellano</a>

<a href="index.en.pt.html">English</a>

</div>
</div>
<div class="dropdown">
<button class="dropdown-btn">CDPedia language</button>
<div class="dropdown-content">
<!-- these depend on the available generated images -->

<a href="index.en.ay.html">Aymara</a>

<a href="index.en.es.html">Spanish</a>

<a href="index.en.pt.html">Portuguese</a>

</div>
</div>
</div>
<!-- end language selectors -->
</header>

<main class="bs-masthead" id="content" role="main">
<div id="main-container" class="container">

<h1>CDPedia</h1>
<p class="lead">Access the Wikipedia information even if you don't have an Internet connection.</p>

<ul class="bs-masthead-links">
<li>
<a class="btn btn-large" href="https://pyar.discourse.group/c/cdpedia/">Join the forum to chat »</a>
</li>
<li>
<a class="btn btn-large" href="https://github.com/PyAr/CDPedia">Collaborate »</a>
</li>
</ul>

</div>
</main>

<div class="container-dark">
<div class="container">
<div class="row">
<div class="col-lg-4">
<h2>Free</h2>
<p>CDPedia is Free Software, we recommend (and thank you) that you copy
these discs and files, and give them to your friends, family and
acquaintances.</p>

<p>The information must be free, so we improve the quality of
our education.</p>
</div>

<div class="col-lg-4">
<h2>Collaborative</h2>
<p>CDPedia is developed by a group of people like you who dedicate
their time and knowledge to provide a useful tool for the
community.</p>

<p>Join, it's easy and we're sure to have some task where you can help.</p>
</div>

<div class="col-lg-4">
<h2>Multiplatform</h2>
<p>CDPedia works on Linux, Mac or Windows without having to install
any additional software (you only need Python which in Linux and Mac
is already installed, and the Windows version is included and used
straightaway).</p>
</div>

</div>
</div>
</div>

<div class="container">
<h2 name="download">Download it</h2>

<p>The latest version is 0.9.0, with content up to June 21, 2021,
and can be downloaded in the following ways (if you have the possibility, we
appreciate you downloading and sharing the files via BitTorrent):</p>

<table class="table table-bordered table-striped table-hover">
<thead>
<tr>
<th>Format</th>
<th>Size</th>
<th>Checksums</th>
<th>Download</th>
<th>Content</th>
</tr>
</thead>
<tbody>

<tr>
<td>Tarball</td>
<td>3.8 GB</td>
<td><a href="images/pt/current/cdpedia-pt-0.9.0-20210621-tarmed.tar.xz.md5">md5</a> - <a href="images/pt/current/cdpedia-pt-0.9.0-20210621-tarmed.tar.xz.sha1">sha1</a></td>
<td><a href="images/pt/current/cdpedia-pt-0.9.0-20210621-tarmed.tar.xz.torrent">Torrent</a></td>
<td>Pages: 400,000; images: 50%</td>
</tr>

<tr>
<td>Super Tarball</td>
<td>10.5 GB</td>
<td><a href="images/pt/current/cdpedia-pt-0.9.0-20210621-tarbig.tar.xz.md5">md5</a> - <a href="images/pt/current/cdpedia-pt-0.9.0-20210621-tarbig.tar.xz.sha1">sha1</a></td>
<td><a href="images/pt/current/cdpedia-pt-0.9.0-20210621-tarbig.tar.xz.torrent">Torrent</a></td>
<td>Pages: all; images: 100%</td>
</tr>


</tbody>
</table>

<p>You can see all the files (torrents, checksums, etc) <a href="http://cdpedia.python.org.ar/images/pt/current/">here</a>.</p>
<p>If you need help, we invite you to read the FAQ's or to make new questions in the <a href="https://pyar.discourse.group/c/cdpedia/">forum</a></p>

</div>

<div class="container">

<h2>What do I do with the file I downloaded?</h2>

<p>You can download files in two formats.</p>

<p>It can be a disk image (specially designed to fit on a CD or a DVD, depending
on the version). The first thing you have to do is burn it to a blank disk,
for which you need a burner and burning software. If you use Windows and don't
have one installed on your computer, we recommend
<a class="http" href="http://infrarecorder.org/?page_id=5">InfraRecorder</a>
that is Free Software and very easy to use (as an example, you can
<a class="http" href="http://www.youtube.com/watch?v=_5QLoTl9qu8">see a video
guide)</a>).</p>

<p>It can also be a tarball, that is to say, directly the files ready to
decompress and use. You can download and decompress them directly into a USB
stick or on a hard disk, and use the CDPedia.</p>

<div class="bs-callout bs-callout-info">
<h4>Make copies to give away</h4>
<p>If you have disks available, make some copies of CDPedia to give to your
family and friends, to your neighborhood library, or to your children.</p>
<p>Spread CDPedia!</p>
</div>

<h2>How do I use it?</h2>

<p>You put the generated disk in your computer and when the folder with the CD
is opened double click on the file cdpedia.py. Your browser will open with
the cover of CDPedia.</p>

<p>If you downloaded the compressed files, just unzip them into anywhere and
that's all, no need to burn a disk.</p>

<p>This version works on Linux, Mac or Windows without having to install any
additional software (you only need Python which on Linux and Mac comes
installed, and the version for Windows is included and used directly).</p>

<p>To use the CDPedia in server mode (installing it on a single machine but
accessing it from many others),
<a href="https://wiki.python.org.ar/Proyectos/CDPedia/modoservidor/">these are
the instructions</a>.</p>

<h2 rel="download">More information</h2>
<p>CDPedia is a <a href="http://python.org.ar">Python Argentina</a> project
to access the information on Wikipedia even if you don't have
an Internet connection.</p>

<p>All information included was obtained from Wikipedia in the date indicated
above, and it's a picture of the online content at that given time. We suggest you
to access information directly on the Wikipedia Web if you need
information updated on one of the topics.</p>

<p>Important: CDPedia is Free Software, we recommend (and thank you) to
copy these disks and files, and give them to your friends, family and
acquaintances. The information must be free, so we improve the quality of
our education.</p>

<p>Enjoy it!</p>
</div>

<footer class="bs-footer" role="contentinfo">
<div class="container">
<p>Follow us on Twitter
&nbsp;<a href="http://twitter.com/PythonArgentina">@PythonArgentina</a></p>
<p><a href="http://creativecommons.org/licenses/by-nc/4.0/">CC BY-NC</a> <a href="https://raw.githubusercontent.com/PyAr/CDPedia/master/AUTHORS.txt">CDPedistas</a></p>
</div>
</footer>
</body>
</html>
2 changes: 2 additions & 0 deletions web/index.es.ay.html
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,8 @@

<a href="index.es.es.html">Castellano</a>

<a href="index.es.pt.html">Portugués</a>

</div>
</div>
</div>
Expand Down
2 changes: 2 additions & 0 deletions web/index.es.es.html
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,8 @@

<a href="index.es.es.html">Castellano</a>

<a href="index.es.pt.html">Portugués</a>

</div>
</div>
</div>
Expand Down
Loading

0 comments on commit 57e2369

Please sign in to comment.