Rosetta Code:Village Pump/RC extraction Tool and Task: Difference between revisions

From Rosetta Code
Content added Content deleted
(- vp)
(fixup)
Line 1: Line 1:
{{Vptopic
|topic=RC extraction Tool and Task
|summary=Extracting material from RC specific to one language}}
==Idea==


I would like to be able to include all RC tasks and documentation for a specific langauge (Language of Your Choice = LOYC) in a language distro. In a Contributions/RosettaCode folder.
Not a project yet, rather an idea for one. It needs much more work. Please see the talk page.

This could be pulled manually, but ...

There are a bunch of packaging issues including documentation (like task name URL, etc.) that need to be worked out.

Some automation would help but it isn't straight forward and some of it may require more/different access to RC. Getting the automation to do most of the heavy lifting is one possibility, another is to use it to make manual extraction (what changed since the last pull) easier.

Possibilities:
* Extract all the pages with code for LOYC
* Extract just the task description and language segment
* Extract the date the language segment last changed
* Extract the code segments into separate files.

Doing all this from the html could be messy.

A read only access to the wiki editor might be easier.

Building some kind of automatic SMW template/pages might make this information more accessible.

Thoughts are appreciated. --[[User:Dgamey|Dgamey]] 13:33, 2 May 2011 (UTC)

Revision as of 13:33, 2 May 2011

RC extraction Tool and Task
This is a particular discussion thread among many which consider Rosetta Code.

Summary

Extracting material from RC specific to one language

Discussion

Idea

I would like to be able to include all RC tasks and documentation for a specific langauge (Language of Your Choice = LOYC) in a language distro. In a Contributions/RosettaCode folder.

This could be pulled manually, but ...

There are a bunch of packaging issues including documentation (like task name URL, etc.) that need to be worked out.

Some automation would help but it isn't straight forward and some of it may require more/different access to RC. Getting the automation to do most of the heavy lifting is one possibility, another is to use it to make manual extraction (what changed since the last pull) easier.

Possibilities:

  • Extract all the pages with code for LOYC
  • Extract just the task description and language segment
  • Extract the date the language segment last changed
  • Extract the code segments into separate files.

Doing all this from the html could be messy.

A read only access to the wiki editor might be easier.

Building some kind of automatic SMW template/pages might make this information more accessible.

Thoughts are appreciated. --Dgamey 13:33, 2 May 2011 (UTC)