-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #4 from angelo-v/v0.5
v0.5
- Loading branch information
Showing
65 changed files
with
409 additions
and
11,493 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
vendor/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,21 @@ | ||
start: | ||
docker-compose --project-name wp-linked-data-dev --file=./docker/development.yml up -d | ||
install: | ||
docker run --rm --tty --interactive \ | ||
--user $(shell id -u):$(shell id -g) \ | ||
--volume $(shell pwd):/app \ | ||
--volume $${HOME}/.composer:/tmp \ | ||
composer install | ||
|
||
test: | ||
update: | ||
docker run --rm --tty --interactive \ | ||
--user $(shell id -u):$(shell id -g) \ | ||
--volume $(shell pwd):/app \ | ||
--volume $${HOME}/.composer:/tmp \ | ||
composer update | ||
|
||
test: install | ||
docker run -it --rm -v $(shell pwd):/workdir -u "$(shell id -u):$(shell id -g)" -w /workdir --network=host phpunit/phpunit test | ||
|
||
.PHONY: test | ||
start: install | ||
docker-compose --project-name wp-linked-data-dev --file=./docker/development.yml up --build -d | ||
|
||
.PHONY: install start test |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,7 +2,7 @@ | |
|
||
WordPress-Plugin to publish blog contents as Linked Data. | ||
|
||
Version 0.4 | ||
Version 0.5 | ||
|
||
## Installation | ||
|
||
|
@@ -12,8 +12,6 @@ Alternatively you may copy the contents of the /src directory to wp-content/plug | |
|
||
At least PHP 5.3.0 is required to use this plugin. | ||
|
||
It is recommended that you install the pecl_http PHP extension (http://pecl.php.net/package/pecl_http). The plugin will work without it, but only with a simplified, inaccurate content negotiation. | ||
|
||
## Usage | ||
|
||
### Linked Data | ||
|
@@ -66,6 +64,17 @@ Please contact me for any questions & feedback: [[email protected]](mailt | |
|
||
## Release Notes | ||
|
||
Version 0.5 | ||
|
||
- better support for content-negotiation. No need to intstall pecl_http anymore | ||
- add foaf:homepage to the Weblog resource | ||
- now able to serve the following content types: | ||
- application/ld+json | ||
- text/turtle | ||
- text/n3 | ||
- application/n-triples | ||
- application/rdf+xml | ||
|
||
Version 0.4 | ||
|
||
- add Access-Control-Allow-Origin header to allow linked data clients to fetch the data | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
{ | ||
"config": { | ||
"vendor-dir": "src/vendor" | ||
}, | ||
"require": { | ||
"willdurand/negotiation": "^2.3", | ||
"easyrdf/easyrdf": "^0.9.1", | ||
"ml/json-ld": "^1.1.0" | ||
} | ||
} |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Oops, something went wrong.