Subproject for www.kde.org migration to wordpress
Details
Sep 18 2020
Thanks Carl! I only cared about kde.org. :)
So to solve this problem you can configure at which size the menu is collapsed by changing the CSS class navbar-expand-{sm,md,lg}, currently it's navbar-expand-lg, for kde.org it is easy to fix (https://invent.kde.org/websites/kde-org/-/commit/a5dd653176a130054f7cdc662e4602a5b6224186) for the other kde.org website it will be a bit more work to create a config option in the jekyll theme.
Sep 17 2020
Jan 27 2019
Hi, I'm rewritten the docs.kde.org website with translation and more modern design in mind (see D17936). For the translation, I use simple yaml file with the format:
Jan 26 2019
Historically we've had a lacking of people able/willing to write PHP code for our sites.
Would anyone in our community be able to create a script for localization?
May 28 2018
Looked into it, turned the wordpress code in releaseme into something we can also use from the command line: https://cgit.kde.org/releaseme.git/tree/plasma/cliwordpress.rb
Usage: cliwordpress.rb [options] --title [title] the page title --path [path] the page path --body [contents] the page contents --bodyfile [path] the page contents path --categories [categories] the page categories, separed by ',' coma --tags [tags] the page tags, separed by ',' coma
May 25 2018
Apr 14 2018
For the previous release I made (18.03.90), I was still able to commit the sources.inc to svn for the announcement. If this has changed, I would need a tutorial to follow, because my experience with Wordpress is void.
Wordpress *and* ruby, way out of my comfort zone.
Can someone look into porting the current script?
git clone git@git.kde.org:sysadmin/release-tools -b frameworks/5.0
then read create_sources_inc and look for svn
Apr 12 2018
Given that we have to head down the custom path here, the objective is to have as little custom code to maintain as possible, while still getting the job done.
Apr 10 2018
Apr 9 2018
I was thinking about that yesterday when i saw the script Riddell has that creates pages, i guess it would be possible, there's two issues i can think of that make it non-trivial (i think):
- We somehow need to update pages to cross link to all the other languages pages (if we want to keep the header like language selection we have in the announcements now, i.e. the "Also Available in" https://www.kde.org/announcements/announce-applications-18.04-rc.php)
- We need a way to segment whole pages into sensible .pot translation units. You don't want the whole page to be a single .pot entry because it would mean exposing html stuff to translators, that is easy to make mistakes with, and also because if you change one word you want to "dirty" the smallest possible unit (ideally sentence, at realistically paragraph) for retranslation not the whole page.
I've been asking in #wordpress in freenode on the issue.
Apr 8 2018
Personally i don't really have big requirements, since i do all the releases by just copy&pasting the old releases manually. I guess i could do the same thing on the webpage.
What the translators would like is something that doesn't make them change their workflow.
See the past thread on kde-www:
https://mail.kde.org/pipermail/kde-www/2018-March/007037.html
Apr 6 2018
I don't know if KDE is allowed to do that but I would propse to make the logos even smaller by adding all 6 of them into one row and move them down in the page hierarchy because they are not that much important and would also fit better into the footer section with the bold heading, see attachted screenshots. I also removed (or reduced) some margings and padding to achieve a more compact look.
I've got a Wordpress site which nobody reads, so I don't mind abusing it by testing your script. As long as you can reassure me I won't inadvertently upload tarballs to your server or submit gibberish to a KDE site or repo... I'm not well-versed in Ruby, but I think I can sort out any bits that might do harm to me, my system, KDE, or innocent bystanders.
Apr 4 2018
I ported my Plasma script to post to wordpress but it's not yet well tested
https://cgit.kde.org/releaseme.git/tree/plasma/plasma-webpages-wordpress
Mar 14 2018
Fixed.
Removed trailing /, under Settings > Permalinks.
Few links are still hard-coded and they will be fixed soon. Most paths are relative (except menus).
Announcements layout reverted to original 1140px width.
Sections included as a post widget.
Patrons logos updated, displayed into 3 columns, 2 rows.