operasoftware / devopera

Repository for Dev.Opera source code
https://dev.opera.com/
Apache License 2.0
93 stars 141 forks source link

Add introduction field to articles #19

Closed pepelsbey closed 10 years ago

pepelsbey commented 10 years ago

This probably requires a lot of manual work (up to 217 articles from “yes” list).

Possible task workflow. Feel free to automate it.

  1. Run git clone git@github.com:operasoftware/devopera.git to clone repository to devopera folder
  2. While it’s running log in to Dev.Opera
  3. Once cloning is finished, go to articles/_posts folder
  4. Open MD file, copy title: field, Google it and go to article
  5. Click “Edit article” link at sidebar
  6. Copy contents of “Introduction” field
  7. Add new intro: field to MD file with copied text
  8. Repeat from 4 with next MD file

Intro contents should be in MD format (square brackets for links, backticks for code, etc.) and quoted, preferably using single quotes '. If there are single quotes inside: didn't replace them with apostrophe didn’t (which is Alt Shift } on Mac).

There are also translated MD located in articles/LANG/_posts folders. You could take care of your favorite language.

Example for “Understanding 3D Transforms” article:


---
title: Understanding 3D Transforms
authors:
- tiffany-brown
intro: 'In this article we’ll dig in to 3D transforms in detail,
looking at the fundamental differences between 3D and
2D transforms, the 3D transforms available, and some
demos that show how these work.'
tags:
- css
- css3
- transforms
layout: article

---
pepelsbey commented 10 years ago

Volunteers? It’s slightly more than 50 articles for 4 persons

/cc @brucelawson @mathiasbynens @andreasbovens @shwetank

pepelsbey commented 10 years ago

@andreasbovens, make sure that we have the same field available for ODIN posts

mathiasbynens commented 10 years ago

I’ll probably be a bit busy preparing / cleaning up / checking the static Dev.Opera backup for the next few days (#17). I could do a few articles after that.

mathiasbynens commented 10 years ago
mathiasbynens commented 10 years ago

@pepelsbey @andreasbovens I don’t see any “Edit article” links in the sidebar. I’m logged in with my mathiasbynens account on Dev.Opera. Could you give me edit permission?

Update: never mind; asking Andreas P.

mathiasbynens commented 10 years ago

Okay, got edit access. I’ll volunteer do add all the introductions. Will try to finish this week.

mathiasbynens commented 10 years ago

@pepelsbey A lot of the posts that don’t have a intro field yet still lack the article’s content, too. I suppose that can be added too? :)

pepelsbey commented 10 years ago

@mathiasbynens, there are up to 90 articles with only front matter filled, so yes — feel free to copy article contents as well as introduction field.

mathiasbynens commented 10 years ago

@pepelsbey Will do.