[www-doc] [Git][VideoLAN.org/websites][master] 7 commits: header: return no locale for unknown languages

Jean-Baptiste Kempf (@jbk) gitlab at videolan.org
Tue Nov 10 12:36:03 UTC 2026



Jean-Baptiste Kempf pushed to branch master at VideoLAN organization / websites


Commits:
49f0e6a5 by Martin Finkel at 2026-11-10T10:53:16+01:00
header: return no locale for unknown languages

getLocaleFromLanguage() left $locale undefined for languages missing from
its table (the jp and pt pages of vlc/releases/3.0.12-update), which
logged an "Undefined variable" notice on every build.

- - - - -
13130843 by Martin Finkel at 2026-11-10T10:53:16+01:00
header: add descriptions, Open Graph tags and share images

Every page used its title as meta description. Pages can now set
$description (a string, or candidates tried in order so translated pages
fall back to an existing translated string instead of English text).
Pages without one get no meta description, so search engines build the
snippet from the content.

Generated pages also get Open Graph and Twitter card tags. The share
image is a 1200x630 card with the page title and the VLC cone, rendered
with GD at build time into images/og/ (only again when the title or the
template changes). Translated pages reuse the image of their English page.

Pages offering VLC can set $software_os to get SoftwareApplication
structured data, with the current version from os-specific.php.

The canonical link code moves to include/seo.php, unchanged.

- - - - -
08871042 by Martin Finkel at 2026-11-10T10:53:16+01:00
Add descriptions to the most visited pages

Descriptions for the 28 pages with the most search traffic, written from
their content and kept under 160 characters. Translated pages fall back
to the existing translated VLC description where the new text is not
translated yet. Download pages declare their platform for the
SoftwareApplication structured data.

- - - - -
15067af5 by Martin Finkel at 2026-11-10T10:53:16+01:00
header: drop the keywords meta and Internet Explorer blocks

Search engines ignore the keywords meta tag. The conditional comments
only targeted Internet Explorer 6 to 8, which no supported browser
honors, and loaded polyfills from oss.maxcdn.com.

- - - - -
f8ab0070 by Martin Finkel at 2026-11-10T10:53:16+01:00
download: clearer Linux descriptions, translatable Windows and macOS ones

The Debian and Ubuntu descriptions read as if the distribution were the
player. The Windows and macOS ones were not marked for translation, so
they could never reach the catalogs.

- - - - -
66cb87a7 by Martin Finkel at 2026-11-10T10:53:16+01:00
seo: lay out share images with a headline and an optional subtitle

Pages can set $og_title, a short headline used instead of the title,
and $og_subtitle, a second line. Lines are balanced instead of filled
greedily, so no word is left alone on the last line, and the font size
is picked from the space left, so long titles shrink instead of being
cut. The headline is drawn heavier, as only the regular and thin weights
of Raleway are in the repository.

Line heights now account for GD sizes being points at 96 dpi, which
made multi-line titles overlap.

- - - - -
82f7ac61 by Martin Finkel at 2026-11-10T10:53:16+01:00
Add share image text to the most visited pages

A short headline and a subtitle for the home page, VLC, its main
download pages, features, streaming and skins, x264, libdvdcss, dav1d
and libVLC, taken from the wording already on these pages.

- - - - -


33 changed files:

- www.videolan.org/.gitignore
- www.videolan.org/Makefile
- www.videolan.org/contribute.php
- www.videolan.org/developers/index.php
- www.videolan.org/developers/libaacs.php
- www.videolan.org/developers/libbluray.php
- www.videolan.org/developers/libdvdcss.php
- www.videolan.org/developers/x264.php
- www.videolan.org/developers/x265.php
- www.videolan.org/include/footer.php
- www.videolan.org/include/header.php
- + www.videolan.org/include/seo.php
- www.videolan.org/index.php
- www.videolan.org/projects/dav1d.php
- www.videolan.org/projects/dvblast.php
- www.videolan.org/support/faq.php
- www.videolan.org/videolan/index.php
- www.videolan.org/vlc/download-android.php
- www.videolan.org/vlc/download-appletv.php
- www.videolan.org/vlc/download-chromeos.php
- www.videolan.org/vlc/download-debian.php
- www.videolan.org/vlc/download-ios.php
- www.videolan.org/vlc/download-macosx.php
- www.videolan.org/vlc/download-sources.php
- www.videolan.org/vlc/download-ubuntu.php
- www.videolan.org/vlc/download-windows.php
- www.videolan.org/vlc/features.php
- www.videolan.org/vlc/index.php
- www.videolan.org/vlc/libvlc.php
- www.videolan.org/vlc/releases/index.php
- www.videolan.org/vlc/skins.php
- www.videolan.org/vlc/streaming.php
- www.videolan.org/vlmc/index.php


The diff was not included because it is too large.


View it on GitLab: https://code.videolan.org/VideoLAN.org/websites/-/compare/d2b2f8b4ca39e90c36960b47c7bc87fa470edb20...82f7ac614159b16805aaa40a10750d89454a175d

-- 
View it on GitLab: https://code.videolan.org/VideoLAN.org/websites/-/compare/d2b2f8b4ca39e90c36960b47c7bc87fa470edb20...82f7ac614159b16805aaa40a10750d89454a175d
You're receiving this email because of your account on code.videolan.org. Manage all notifications: https://code.videolan.org/-/profile/notifications | Help: https://code.videolan.org/help




More information about the www-doc mailing list