Skip to content

Commit 8d364ad

Browse files
committed
open source blog posts 2009 completed
1 parent f3c94f7 commit 8d364ad

File tree

6 files changed

+201
-1
lines changed

6 files changed

+201
-1
lines changed
+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
username: balleyne
2+
---
3+
name: Blaise Alleyne
4+
---
5+
md5_hashed_email: fa70b9300856e9811ae673918a4351e
6+
---
7+
about:
8+
[Blaise Alleyne](https://github.com/balleyne) was the Google Summer of Code Student with Creative Commons as the mentor organization. He goes by `@balleyne` on the github Community. Blaise Alleyne developed `UPDATE AND EXPAND DRUPAL CREATIVE COMMONS MODULE` as part of [Google Summer of Code 2009](/gsoc-2009/).
+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
username: dinishi
2+
---
3+
name: Dinishika Weerarathna
4+
---
5+
md5_hashed_email: fa70b9300856e9811ae673918a4351e
6+
---
7+
about:
8+
[dinishi](#) was the Google Summer of Code Student with Creative Commons as the mentor organization.Dinishika Weerarathna developed [RDFa Plugin for WordPress](https://github.com/cc-archive/ExternalData_RDFa) as part of [Google Summer of Code 2009](/gsoc-2009/).
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
name:gsoc-2009
+89
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,89 @@
1+
title: Update and Expand Drupal Creative Commons Module
2+
---
3+
categories:
4+
open-source
5+
gsoc-2009
6+
---
7+
author: blaise
8+
---
9+
pub_date: 2009-07-15
10+
---
11+
body:
12+
13+
Creative Commons provides vast number of public copyright licenses for people who want to enable free distribution of their work. Creative Commons licenses currently covers over **1.6 billion resources**. These license files are then translated to multiple different languages and ported for [different jurisdictions](https://wiki.creativecommons.org/wiki/CC_Ports_by_Jurisdiction) for international usage. People link to the respective licenses along with their licensed works. These license files are in the form of `html` files, stored in [creativecommons/creativecommons.org](https://github.com/creativecommons/creativecommons.org/tree/master/docroot/legalcode) repo.
14+
15+
### Problem Statement
16+
There are currently two Creative Commons (CC) modules for Drupal. CC Lite only offers limited functionality, but the CC module has not been updated for a long time and doesn't support current versions of Drupal.
17+
18+
### Planning
19+
* update the Creative Commons module, referencing and possibly building on Creative Commons lite, to support Drupal 6\
20+
* expand its functionality to embed and detect license information for some file uploads.
21+
22+
### Summary
23+
The Creative Commons module allows users to assign a Creative Commons license to
24+
the content of a node, or to specify a site-wide license. It uses to Creatve
25+
Commons API to retrieve up-to-date license information. Licenses are diplayed
26+
using a Creative Commons Node License block and the Creative Commons Site
27+
License block. The module also supports some license metadata fields. License
28+
information is output using ccREL RDFa inside the blocks, and can optionally be
29+
output as RDF/XML in the body of a node.
30+
31+
Creative Commons search is available at /search/creativecommons/, and (if the
32+
Views module is installed and enabled) a Creative Commons view is available at
33+
/creativecommons. Creative Commons license information and metadata are
34+
available to the Views module.
35+
36+
For a full description of the module, visit the project page:
37+
http://drupal.org/project/creativecommons
38+
39+
To submit bug reports and feature suggestions, or to track changes:
40+
http://drupal.org/project/issues/creativecommons
41+
42+
### Requirements
43+
None
44+
45+
### Installation
46+
* Install as usual, see http://drupal.org/node/70151 for further information.
47+
48+
### Configuration
49+
* Configure user permissions in Administer >> User management >> Permissions >>
50+
creativecommons module:
51+
52+
- administer creative commons
53+
54+
Users can customize the module settings in Administer >> Settings >>
55+
Creative Commons
56+
57+
- attach creative commons
58+
59+
Users will be able to attach license information to the content of a node.
60+
61+
- use creative commons user defaults
62+
63+
Users will be able to set their own defaults, independent of site defaults
64+
(but still subject to site license availability settings).
65+
66+
* Set available license types, required/available metadata and display settings
67+
Administer >> Settings >> Creative Commons. To make it mandatory to specify a
68+
license, simply make the 'None' type unavailable.
69+
70+
* Set default license type and jurisdiction in Administer >> Settings >>
71+
Creative Commons >> site defaults. Here, you can set the default license to be
72+
used as a site-wide license if you wish, and you can include any relevant
73+
metadata.
74+
75+
* Enable Creative Commons licensing for desired content types in Administer >>
76+
Settings >> Creative Commons >> content types. For example, you might wish to
77+
allow Creative Commons licensing for blog posts, but not forum posts.
78+
79+
* In your Drupal user account settings, you can set a jurisdiction or default
80+
license to override the site defaults.
81+
82+
83+
CC Drupal is only possible due to the support and guidance of my mentors [Kevin Reynen](http://drupal.org/user/48877) and `CC Tech Staff Member`, who have been very supportive on every step of the project. Also I would like to thank engineering director [Kriti Godey](https://creativecommons.org/author/kgodey) for her continuous support.
84+
85+
86+
The project is approaching its completion. Can't wait to see it in production.
87+
88+
*Signing off
89+
Blaise Alleyne*
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,94 @@
1+
title: RDFa Plugin for WordPress
2+
---
3+
categories:
4+
open-source
5+
gsoc-2009
6+
---
7+
author: dinishi
8+
---
9+
pub_date: 2009-07-15
10+
---
11+
body:
12+
13+
Creative Commons provides vast number of public copyright licenses for people who want to enable free distribution of their work. Creative Commons licenses currently covers over **1.6 billion resources**. These license files are then translated to multiple different languages and ported for [different jurisdictions](https://wiki.creativecommons.org/wiki/CC_Ports_by_Jurisdiction) for international usage. People link to the respective licenses along with their licensed works. These license files are in the form of `html` files, stored in [creativecommons/creativecommons.org](https://github.com/creativecommons/creativecommons.org/tree/master/docroot/legalcode) repo.
14+
15+
### Problem Statement
16+
Conversion of information to a format compatible with RDF is a cumbersome endeavor. Though a complete automation of the conversion process would be a goal which is hard to achieve it can be made lot simpler with a wordpress plug-in. The plug-in will enable the users to convert a generic HTML in to a RDF compatible format with ease.
17+
18+
### Overview
19+
External Data is an extension to MediaWiki that allows for retrieving data
20+
from various sources: external URLs and local wiki pages (in CSV, JSON and
21+
XML formats), database tables, and LDAP servers
22+
23+
The extension defines five parser functions - #get_external_data,
24+
get_db_data, #get_ldap_data, #external_value and #for_external_table:
25+
26+
`get_external_data retrieves the data from a URL that holds XML, CSV or
27+
JSON, and assigns it to local variables or arrays.`
28+
29+
`get_db_data retrieves data from a database, using a SQL query, and assigns
30+
it to local variables or arrays.`
31+
32+
`get_ldap_data retrieves data from an LDAP server and assigns it to
33+
local variables.`
34+
35+
`external_value displays the value of any retrieved variable, or the
36+
first value if it's an array.`
37+
38+
`for_external_table applies processing onto multiple rows retrieved by
39+
get_external_data.`
40+
41+
In addition, the extension defines a new special page, 'GetData', that
42+
exports selected rows from a wiki page that holds CSV data, in a format that
43+
is readable by #get_external_data.
44+
45+
For more information, see the extension homepage at:
46+
[RDFa](http://www.mediawiki.org/wiki/Extension:External_Data)
47+
48+
49+
### Requirements
50+
This version of the External Data extension requires MediaWiki 1.8 or higher.
51+
52+
### Installation
53+
54+
To install the extension, place the entire 'ExternalData' directory
55+
within your MediaWiki 'extensions' directory, then add the following
56+
line to your 'LocalSettings.php' file:
57+
58+
`require_once( "$IP/extensions/ExternalData/ExternalData.php" );`
59+
60+
To cache the data from the URLs being accessed, you can call the contents
61+
of ExternalData.sql in your database, then add the following to
62+
LocalSettings.php:
63+
64+
`$edgCacheTable = 'ed_url_cache';`
65+
66+
You should also add a line like the following, to set the expiration time
67+
of the cache, in seconds; this line will cache data for a week:
68+
69+
`$edgCacheExpireTime = 7 * 24 * 60 * 60;`
70+
71+
You can also set for string replacements to be done on the URLs you call,
72+
for instance to hide API keys:
73+
74+
`$edgStringReplacements['MY_API_KEY'] = 'abcd1324';`
75+
76+
You can create a "whitelist" to allow retrieval of data only from trusted
77+
sites, in the manner of MediaWiki's $wgAllowExternalImagesFrom - if you
78+
are hiding API keys, it is very much recommended to create such a
79+
whitelist, to prevent users from being able to discover theire values:
80+
81+
82+
Finally, to use the database or LDAP retrieval capabilities, you need to
83+
set connection settings as well - see the online documentation for more
84+
information.
85+
86+
87+
CC RDFa Plugin for WordPress is only possible due to the support and guidance of my mentors [Nathan Yergler](https://github.com/nyergler) and `CC Tech Staff Member`, who have been very supportive on every step of the project. Also I would like to thank engineering director [Kriti Godey](https://creativecommons.org/author/kgodey) for her continuous support.
88+
89+
You can follow the project on Github: [cc-archive/ExternalData_RDFa](https://github.com/cc-archive/ExternalData_RDFa).
90+
91+
The project is approaching its completion. Can't wait to see it in production.
92+
93+
*Signing off
94+
Dinishika Weerarathna*

content/internships/history/contents.lr

+1-1
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ CC has participated in Google Summer of Code seven times up to 2013, and twice s
4141
* [Google Summer of Code 2010](https://www.google-melange.com/archive/gsoc/2010/orgs/creativecommons)
4242
* [Open Source Blog posts](/blog/categories/gsoc-2010/)
4343
* [Google Summer of Code 2009](https://www.google-melange.com/archive/gsoc/2009/orgs/cc)
44-
* [Open Source Blog posts](/blog/categories/gsoc-2013/)
44+
* [Open Source Blog posts](/blog/categories/gsoc-2009/)
4545
* [Google Summer of Code 2008](https://developers.google.com/open-source/gsoc/2008/#cc)
4646
* [Open Source Blog posts](/blog/categories/gsoc-2013/)
4747
* [Google Summer of Code 2007](https://developers.google.com/open-source/gsoc/2007/#cc)

0 commit comments

Comments
 (0)