Log of /contributions/modules/rdf/rdf.module
Parent Directory
|
Revision Log
|
Revision Graph
Revision
1.32 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Sat Mar 28 02:37:22 2009 UTC
(7 months, 4 weeks ago)
by
arto
Branch:
MAIN
CVS Tags:
HEAD
Changes since
1.31: +193 -7 lines
Diff to
previous 1.31
Changelog:
- Implemented hook_rdf_adapters(); added a new API function rdf_get_adapters().
- Merged rdf_db_rdf_namespaces() into rdf_rdf_namespaces().
- Merged rdf_db_rdf_contexts() into rdf_rdf_contexts().
- Merged rdf_db_rdf_repositories() into rdf_rdf_repositories().
- Implemented an RDF_DatabaseRepository class based on code previously in rdf.db.inc.
- Renamed rdf_db_create_repository() to rdf_create_repository().
- Renamed rdf_db_update_repository() to rdf_update_repository().
- Renamed rdf_db_rename_repository() to rdf_rename_repository().
- Renamed rdf_db_delete_repository() to rdf_delete_repository().
- Renamed rdf_db_get_schema() to rdf_get_schema().
- Renamed rdf_db_get_repository_tables() to rdf_get_tables().
- Renamed rdf_db_load_repository() to rdf_get_repository().
- Renamed rdf_db_load_namespace() to rdf_get_namespace().
- Renamed rdf_db_count_repository_triples() to RDF_DatabaseRepository::count().
- Renamed rdf_db_merge_duplicate_statements() to RDF_DatabaseRepository::merge_duplicates().
- Renamed _rdf_db_make_record() to RDF_DatabaseRepository::construct_statement().
- Renamed _rdf_db_uri_to_id to RDF_DatabaseRepository::uri_to_id().
- Renamed _rdf_db_uri_to_id_insert to RDF_DatabaseRepository::uri_to_id_insert().
- Renamed _rdf_db_uri_to_id_select to RDF_DatabaseRepository::uri_to_id_select().
- Renamed _rdf_db_delete_statements() to RDF_DatabaseRepository::delete_statements().
- Renamed _rdf_db_select_statements() to RDF_DatabaseRepository::select_statements().
- Renamed _rdf_db_query_statements() to RDF_DatabaseRepository::query_statements().
Revision
1.29 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Mon Mar 23 12:32:08 2009 UTC
(8 months ago)
by
arto
Branch:
MAIN
Changes since
1.28: +15 -247 lines
Diff to
previous 1.28
Changelog:
- Allowed CURIEs to be used for data entry on the 'Add statement' screen.
- Prevented meta-meta field matching when checking for duplicates.
- Moved the hook_menu() definitions (all 8K of them) to rdf.menu.inc.
- Use headers_list() instead of drupal_get_headers() when determining whether to inject the RDFa doctype.
- Don't prepend the RDFa doctype if no previous doctype was found.
- Removed the RDF Schema submodule.
- Fixed RDF feed date handling for CCK datestamp fields.
Revision
1.28 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Mon Mar 9 07:50:59 2009 UTC
(8 months, 2 weeks ago)
by
arto
Branch:
MAIN
Changes since
1.27: +7 -1 lines
Diff to
previous 1.27
Prevent bootstrap problems in certain configurations due to a missing url() function when the module is loaded.
Revision
1.27 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Thu Mar 5 00:36:10 2009 UTC
(8 months, 3 weeks ago)
by
arto
Branch:
MAIN
Changes since
1.26: +41 -22 lines
Diff to
previous 1.26
#391372: Implemented a configuration option for determining which namespace prefixes to enable for RDFa usage.
Revision
1.26 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Wed Mar 4 22:40:50 2009 UTC
(8 months, 3 weeks ago)
by
arto
Branch:
MAIN
Changes since
1.25: +55 -0 lines
Diff to
previous 1.25
#391372: Implemented an experimental configuration option for automatically and dynamically replacing the theme's default DOCTYPE with an XHTML+RDFa DOCTYPE just before a page is output to the browser.
Revision
1.23 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Mon Mar 2 03:08:17 2009 UTC
(8 months, 3 weeks ago)
by
arto
Branch:
MAIN
Changes since
1.22: +54 -15 lines
Diff to
previous 1.22
Changelog:
- Reimplemented the Drupal core modules' (node, taxonomy, blog, aggregator) RSS output in terms of extensible RDF/RSS 1.0 feeds - one important step towards publishing 100% RDFized Drupal sites.
- Added nodes' author information into RDF feeds by default (mapped to the dc:creator property).
- Changed RSS 1.0 feed output to use the MIME type application/rss+xml instead of application/rdf+xml.
- Refactored the Views 2.x RDF feed style and row plugins to use the new RDF feeds API for building their RSS 1.0 output.
- Consolidated all RDF feed configuration forms and logic in rdf.admin.inc.
- Consolidated most RDF feed build logic in rdf.feed.inc.
- Removed the special-cased Location module support in favor of supporting hook_nodeapi('rss item') when outputting RDF feeds.
- Renamed hook_rdf_views_feed() to hook_rdf_feed().
- Renamed hook_rdf_views_feed_channel() to hook_rdf_feed_channel().
- Renamed hook_rdf_views_feed_item() to hook_rdf_feed_item().
- Implemented a new API class RDF_Callback that will be used to support callbacks (poor man's closures) in various API functions.
- Implemented a new API class RDF_CallbackIterator that supports lazy iteration based on a data callback, helping to reduce memory usage.
- Fixed a bug (introduced in 6.x-1.0-alpha5) preventing CCK field property mappings from being saved.
- Added an input validation to ensure RDF mappings cannot be defined using non-existent namespaces.
- Improved the RDF mappings overview screen, and implemented autocompletion of RDF property names when mapping fields to RDF properties.
- Implemented a time zone configuration option for date/time values in RSS feeds.
- Fixed the time zone handling logic for RDF-mapped CCK fields used in RSS feeds.
- Added a $timezone parameter to rdf_datetime().
- Prevented a PHP warning from rdf_db_get_schema() when installing File Framework (fixed by miglius).
- #350485 by TheOnlyHarry: Fixed namespace prefix logic in RDF output.
Revision
1.22 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Sat Feb 28 22:15:42 2009 UTC
(8 months, 3 weeks ago)
by
arto
Branch:
MAIN
Changes since
1.21: +137 -24 lines
Diff to
previous 1.21
Changelog:
- Provided a new hook, hook_rdf_feeds(), for declaring RDF-compatible feeds.
- Implemented a new RDF feeds administration screen allowing centralized management and configuration of RSS feeds output from Drupal core modules, RDF-enabled Views, and from any other module that implements hook_rdf_feeds().
- Implemented hook_menu_alter() in order to override and upgrade the RSS feeds provided by Drupal's core modules to RSS 1.0-compatible RDF.
- Implemented the new API functions rdf_get_feed_info(), rdf_get_feed_settings(), and rdf_set_feed_settings().
Revision
1.20 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Mon Feb 16 13:27:09 2009 UTC
(9 months, 1 week ago)
by
arto
Branch:
MAIN
Changes since
1.19: +281 -19 lines
Diff to
previous 1.19
Merged latest changes from http://github.com/bendiken/drupal-rdf.
Changelog:
- #330541 by jmiccolis: Views integration.
- Cache rdf_db_get_repository_tables() and rdf_db_count_repository_triples() results (by alex.k).
- Refactored rdf_db_get_repository_tables() and rdf_db_count_repository_triples().
- Prevent duplicate RDF statements from being inserted (in accordance with repository settings).
- Merge any duplicated RDF statements on cron runs (in accordance with repository settings).
- Implemented support for CCK Fieldgroup fields when outputting RSS feeds from the Views plugin.
- Honor Location module content-type-specific RSS settings when outputting RSS feeds from the Views plugin.
- Folded the RDF Schema module back into the base module, leaving a placeholder (for the time being) in order to allow users to cleanly uninstall the submodule.
- Renamed the 'RDF API' module to 'RDF'.
- Minor coding conventions cleanup.
- Updated the information in README.txt and INSTALL.txt; added contributors to README.txt.
Revision
1.17 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Thu Oct 23 07:25:10 2008 UTC
(13 months ago)
by
arto
Branch:
MAIN
Changes since
1.16: +15 -0 lines
Diff to
previous 1.16
Implemented a new admin/settings/rdf/mappings screen for displaying a summary of defined mappings between Drupal data and RDF classes/properties.
Revision
1.15 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Wed Oct 15 11:25:44 2008 UTC
(13 months, 1 week ago)
by
arto
Branch:
MAIN
Changes since
1.14: +14 -0 lines
Diff to
previous 1.14
Imported the latest changes from http://github.com/bendiken.
Changelog:
- Implemented a Views plugin that generates an RSS 1.0-compatible RDF feed from any node-based view.
- Added RSS 1.0 to the list of always-available default namespaces.
- Added new API functions rdf_seq(), rdf_bag(), rdf_alt().
- Added new API classes RDF_Collection, RDF_Seq, RDF_Bag, RDF_Alt.
- Fixed bugs in blank node handling.
- Corrected and improved the output of the RDF/XML serializer.
Revision
1.10 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Tue Jun 10 21:41:17 2008 UTC
(17 months, 2 weeks ago)
by
arto
Branch:
MAIN
CVS Tags:
DRUPAL-6--1-0-ALPHA2
Changes since
1.9: +21 -13 lines
Diff to
previous 1.9
Imported latest 6.x version (r493) from SVN development repository.
Changelog:
- Updated ARC2 compatibility (now works with release 2008-05-30).
- Fixed white-screening bug when exporting RDF data (#261237, #242509, #243971).
- Fixed repository administration menu paths.
- Implemented unit tests for the RDF repository create/rename/delete APIs.
- Implemented unit tests for the RDF statement count/insert/query/delete APIs.
- Added a bunch of the FOAF terms to the predefined, auto-generated convenience classes.
- Clear the schema cache in rdf_db_create_repository().
- Implemented hook_schema_alter() for defining the schema for user-created repository tables.
- Added new API functions rdf_get_type() and theme_rdf_value().
- Simplified QName/CURIE creation by implementing a $rdf_namespaces global.
- Merged the RDF DB hook implementations with the existing RDF API handlers.
- Bug fix for rdf_count().
- Optimized rdf_literal() to not construct an RDF_Literal object for plain non-tagged string literals.
- Allowed non-wrapped object literals in rdf_denormalize() for greater convenience.
Revision
1.9 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Wed Jun 4 15:40:32 2008 UTC
(17 months, 3 weeks ago)
by
arto
Branch:
MAIN
CVS Tags:
DRUPAL-6--1-0-ALPHA1
Changes since
1.8: +198 -1 lines
Diff to
previous 1.8
Imported latest 6.x version (r462) from SVN development repository.
Changelog:
- Folded the RDF DB, RDF Export and RDF Import submodules back into the base module to allow for easier dependency management.
- Updated menu routing for Drupal 6.2 compatibility (#264076).
- Disabled unavailable formats when ARC2 is not installed.
- Updated documentation; added sponsors to README.txt.
Revision
1.8 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Thu Feb 21 23:01:55 2008 UTC
(21 months ago)
by
arto
Branch:
MAIN
Changes since
1.7: +40 -37 lines
Diff to
previous 1.7
Imported latest 6.x version from SVN development repository.
Changelog (RDF API):
- Added a new API convenience function rdf_mailto().
- Obsoleted hook_rdf_data() in favor of hook_rdf_resources().
- Reimplemented the system hook_rdf_query() for better memory-efficiency.
- Moved site description metadata to rdf_load_site().
- Updated module descriptions in README.txt to reflect .info files.
Revision
1.7 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Sun Feb 17 03:42:23 2008 UTC
(21 months, 1 week ago)
by
arto
Branch:
MAIN
Changes since
1.6: +76 -19 lines
Diff to
previous 1.6
Imported latest 6.x version from SVN development repository.
Changelog (RDF API):
- Implemented hook_hook_info(), defining triggers that fire when triples are inserted or deleted.
- Implemented automatically-constructed namespace helper classes.
- Updated handbook link to point to http://drupal.org/handbook/modules/rdf.
- Implemented hook_rdf_contexts() and the corresponding new API function rdf_get_contexts().
- Implemented admin screen for viewing the available contexts (named graphs); added a new API function rdf_count().
Changelog (RDF DB):
- Implemented hook_rdf_contexts().
Revision
1.6 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Fri Feb 15 03:12:38 2008 UTC
(21 months, 1 week ago)
by
arto
Branch:
MAIN
Changes since
1.5: +1 -1 lines
Diff to
previous 1.5
Imported latest 6.x version from SVN development repository.
Changelog:
- Implemented rdf_use_repository() and limiting of queries and operations to a particular repository.
- Implemented named graph support; fixed bug in rdf_delete() callback.
- #221284 by Arancaytar: Rename rdf_filter() to _rdf_filter() to avoid collision with hook_filter().
Revision
1.5 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Tue Feb 12 23:10:48 2008 UTC
(21 months, 1 week ago)
by
arto
Branch:
MAIN
Changes since
1.4: +1 -1 lines
Diff to
previous 1.4
Imported latest 6.x version from SVN development repository.
Changelog:
- Made site's dc:title a language-tagged literal.
- Implemented new API convenience functions rdf_insert_all() and rdf_datetime().
- Added stub for new API function rdf_use_repository().
Revision
1.4 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Mon Feb 11 21:51:17 2008 UTC
(21 months, 2 weeks ago)
by
arto
Branch:
MAIN
Changes since
1.3: +1 -1 lines
Diff to
previous 1.3
Imported latest 6.x version from SVN development repository.
Changelog:
- Imported INSTALL.txt.
- Set module weight to -10 to ensure API functions are loaded before submodules attempt to use them.
- Added triggers for hook_rdf('insert') and hook_rdf('delete').
- Added an API function for adding RDF auto-discovery headers.
- Added filtering parameters to rdf_get_repositories().
- Added function for converting triples from the RDF API to the equivalent ARC2 data structure.
- Miscellaneous minor bug fixes.
Revision
1.3 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Sun Feb 10 23:01:15 2008 UTC
(21 months, 2 weeks ago)
by
arto
Branch:
MAIN
Changes since
1.2: +13 -3 lines
Diff to
previous 1.2
Imported latest 6.x version from SVN development repository.
Changelog:
- Amended hook_rdf_formats() definitions with links to the RDF formats' specifications.
- Added some preliminary help texts for all admin screens based on the documentation at http://drupal.org/node/219852.
- Implemented hook_requirements('runtime') in order to display ARC2 installation status.
Revision
1.2 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Sun Feb 10 01:05:33 2008 UTC
(21 months, 2 weeks ago)
by
arto
Branch:
MAIN
Changes since
1.1: +27 -4 lines
Diff to
previous 1.1
Imported latest 6.x version from SVN development repository.
Changelog:
- Implemented a new setting for selecting the default serialization format.
- Added vendor directory for third-party code such as ARC2.
- Automatically load the ARC2 library in hook_init(), if it has been installed into vendor/arc2/ by the administrator.
- Implemented the RDF/JSON format and made it the default.
- Changed RDF/PHP format MIME type to application/vnd.php.serialized.
- Implemented hook_service() to integrate with the Services API.
Revision
1.1 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Wed Feb 6 10:25:40 2008 UTC
(21 months, 2 weeks ago)
by
arto
Branch:
MAIN
Initial import of the RDF API and RDF DB modules for Drupal 6.x.
These are part of an ensemble of modules providing comprehensive RDF functionality and interoperability for Drupal.
This is currently pre-alpha and should be considered an early development sneak peek for developers needing to introduce the RDF API as a dependency.
This form allows you to request diffs between any two revisions of this file.
For each of the two "sides" of the diff,
select a symbolic revision name using the selection box, or choose
'Use Text Field' and enter a numeric revision.