Log of /contributions/modules/rdf/rdf.db.inc
Parent Directory
|
Revision Log
|
Revision Graph
Revision
1.16 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Sat Mar 28 02:37:22 2009 UTC
(8 months ago)
by
arto
Branch:
MAIN
CVS Tags:
HEAD
Changes since
1.15: +17 -302 lines
Diff to
previous 1.15
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.14 -
(
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.13: +1 -0 lines
Diff to
previous 1.13
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.13 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Wed Mar 4 20:56:53 2009 UTC
(8 months, 3 weeks ago)
by
arto
Branch:
MAIN
Changes since
1.12: +41 -54 lines
Diff to
previous 1.12
Changelog:
- Added a new database table, {rdf_repositories}, for holding RDF repository definitions.
- Added schema update #6002 for creating the {rdf_repositories} table.
- Added schema update #6003 for migrating RDF repository definitions from the {variable} table to {rdf_repositories}.
- Changed rdf_db_get_repository_tables() to make use of the new {rdf_repositories} table.
- Removed rdf_db_get_repository_names() in favor of rdf_db_get_repository_tables().
- Changed rdf_db_create_repository() options; dependent modules take note: in the future invoke the function with 'title' and 'description' instead of 'dc:title' and 'dc:description'. See rdf.db.inc for details.
- Renamed rdf_db_update_repository_metadata() to rdf_db_update_repository().
- Removed rdf_db_delete_repository_metadata().
- Prevented editing of the System and Local repositories on the RDF repository management screen.
Revision
1.9 -
(
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.8: +1 -1 lines
Diff to
previous 1.8
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.7 -
(
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.6: +100 -34 lines
Diff to
previous 1.6
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.3 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Tue Sep 2 07:23:10 2008 UTC
(14 months, 3 weeks ago)
by
arto
Branch:
MAIN
Changes since
1.2: +1 -1 lines
Diff to
previous 1.2
Imported the latest 6.x version from development repository.
Changelog:
- Renamed vendor/arc2 directory to vendor/arc (#273804 by robertDouglass).
- Extended the RDF DB tuple store with the statement creator's user ID and the creation timestamp.
- Deprecated rdf_uriref() in favor of rdf_uri().
Revision
1.2 -
(
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,
DRUPAL-6--1-0-ALPHA3
Changes since
1.1: +1 -0 lines
Diff to
previous 1.1
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.1 -
(
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
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.
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.