/[drupal]/contributions/modules/links/links_weblink.module
ViewVC logotype

Log of /contributions/modules/links/links_weblink.module

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Links to HEAD: (view) (download) (as text) (annotate)
Sticky Tag:

Revision 1.26.2.4.2.1 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Feb 16 19:17:29 2009 UTC (9 months, 1 week ago) by syscrusher
Branch: DRUPAL-6--2
CVS Tags: DRUPAL-6--1-2
Changes since 1.26.2.4: +2 -2 lines
Diff to previous 1.26.2.4
Patch for issue #156592 and to set longer field lengths for link URL and title.

Revision 1.15.2.15 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Feb 14 17:21:35 2009 UTC (9 months, 1 week ago) by syscrusher
Branch: DRUPAL-5
CVS Tags: DRUPAL-5--1-13
Changes since 1.15.2.14: +3 -2 lines
Diff to previous 1.15.2.14 , to branch point 1.15 , to next main 1.26
Added/adjusted #maxlength parameter for URL and title fields in several places to handle longer values.

Revision 1.26.2.4 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Jan 24 21:17:29 2009 UTC (10 months ago) by syscrusher
Branch: DRUPAL-6--1
CVS Tags: DRUPAL-6--1-0, DRUPAL-6--1-1
Branch point for: DRUPAL-6--2
Changes since 1.26.2.3: +7 -5 lines
Diff to previous 1.26.2.3 , to branch point 1.26
Fixed incorrect HTML rendering in links_weblink per issue #363597.

Revision 1.15.2.14 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Jan 24 21:15:20 2009 UTC (10 months ago) by syscrusher
Branch: DRUPAL-5
CVS Tags: DRUPAL-5--1-12
Changes since 1.15.2.13: +7 -5 lines
Diff to previous 1.15.2.13 , to branch point 1.15
Fixed incorrect HTML in links_weblink per issue #363597.

Revision 1.15.2.13 - (view) (download) (as text) (annotate) - [select for diffs]
Wed Jan 21 04:48:17 2009 UTC (10 months, 1 week ago) by syscrusher
Branch: DRUPAL-5
CVS Tags: DRUPAL-5--1-12-BETA1
Changes since 1.15.2.12: +2 -1 lines
Diff to previous 1.15.2.12 , to branch point 1.15
	New feature: Administrative option allows rel="nofollow"
	attribute on external links, per issue #144620.

	New feature: Administrative option allows direct links
	(skipping redirect page, at the cost of no click
	counting). Separately controllable for internal and
	external links.

	New feature: Optional logging of all external redirects,
	primarily for diagnostic purposes but also useful if the
	site owner wants really detailed click tracking.

	Added #maxlength attribute for URL textfields to allow
	longer values, per issue #232575.

Revision 1.26.2.3 - (view) (download) (as text) (annotate) - [select for diffs]
Wed Jan 21 04:16:33 2009 UTC (10 months, 1 week ago) by syscrusher
Branch: DRUPAL-6--1
CVS Tags: DRUPAL-6--1-0-BETA14, DRUPAL-6--1-0-BETA15
Changes since 1.26.2.2: +2 -1 lines
Diff to previous 1.26.2.2 , to branch point 1.26
	New feature: Administrative option allows rel="nofollow"
	attribute on external links, per issue #144620.

	New feature: Administrative option allows direct links
	(skipping redirect page, at the cost of no click
	counting). Separately controllable for internal and
	external links.

	New feature: Optional logging of all external redirects,
	primarily for diagnostic purposes but also useful if the
	site owner wants really detailed click tracking.

	Added #maxlength attribute for URL textfields to allow
	longer values, per issue #232575.

Revision 1.15.2.12 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Jan 13 03:31:57 2009 UTC (10 months, 2 weeks ago) by syscrusher
Branch: DRUPAL-5
CVS Tags: DRUPAL-5--1-11
Changes since 1.15.2.11: +2 -2 lines
Diff to previous 1.15.2.11 , to branch point 1.15
	Removed call to db_last_insert_id() in links.inc. That call
	should have been (and now is) db_next_id().

	Applied patch from issue #357437 to fix failure of
	outbound link.

	Corrected filter tips bug reported in #357335. Similar
	change to that patch, but adapted for Drupal 5.

Revision 1.26.2.2 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Jan 13 03:30:57 2009 UTC (10 months, 2 weeks ago) by syscrusher
Branch: DRUPAL-6--1
CVS Tags: DRUPAL-6--1-0-BETA12, DRUPAL-6--1-0-BETA13
Changes since 1.26.2.1: +2 -2 lines
Diff to previous 1.26.2.1 , to branch point 1.26
	Removed obsolete call to _system_update_utf8() in
	links.install to fix issue #356994.

	Changed incorrect db_last_insert_id() call to instead
	use db_next_id().

	Applied patch from issue #357437 to fix failure of
	outbound link.

	Applied patch to fix filter tips bug reported in #357335.

Revision 1.15.2.11 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Jan 2 03:51:34 2009 UTC (10 months, 3 weeks ago) by syscrusher
Branch: DRUPAL-5
CVS Tags: DRUPAL-5--1-10
Changes since 1.15.2.10: +38 -1 lines
Diff to previous 1.15.2.10 , to branch point 1.15
	Backported links_admin.module from the Drupal 6 version,
	including today's bug fixes to the D6 version. This change
	included new hook functions in links_weblink.module and
	links_related.module.

Revision 1.15.2.10 - (view) (download) (as text) (annotate) - [select for diffs]
Wed Dec 31 00:46:04 2008 UTC (10 months, 4 weeks ago) by syscrusher
Branch: DRUPAL-5
Changes since 1.15.2.9: +2 -2 lines
Diff to previous 1.15.2.9 , to branch point 1.15
Development snapshot of the Drupal 5 version. This snapshot has a backport
of the new links.inc from the Drupal 6 version. The change to links_weblink
is just a small HTML correction.

Revision 1.26.2.1 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Dec 30 23:11:18 2008 UTC (10 months, 4 weeks ago) by syscrusher
Branch: DRUPAL-6--1
CVS Tags: DRUPAL-6--1-0-BETA10, DRUPAL-6--1-0-BETA11, DRUPAL-6--1-0-BETA7, DRUPAL-6--1-0-BETA8, DRUPAL-6--1-0-BETA9
Changes since 1.26: +30 -2 lines
Diff to previous 1.26
	TRANSLATORS: Updated template to unify in po/links.pot.

	Fixed issue #341487 in links_weblink.

	Fixed issue #132209 in links_weblink, although the patch
	attached to that issue was not actually the fix for the
	problem in the D6 version of the module.

	Fixed issue #147226 (translation of "Visit") in links.inc.

	Implemented the direct-weblink feature requested in #147893.

Revision 1.26 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Dec 28 00:56:51 2008 UTC (11 months ago) by syscrusher
Branch: MAIN
CVS Tags: DRUPAL-6--1-0-BETA3, DRUPAL-6--1-0-BETA5, DRUPAL-6--1-0-BETA6, HEAD
Branch point for: DRUPAL-6--1
Changes since 1.25: +1 -2 lines
Diff to previous 1.25
        Fully functional links_admin.module. Some new
        APIs in links.inc. Removed an extraneous diagnostic
        message from links_weblink.module.

        This is the initial beta release of links_admin.

Revision 1.25 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Dec 26 03:53:36 2008 UTC (11 months ago) by syscrusher
Branch: MAIN
Changes since 1.24: +3 -3 lines
Diff to previous 1.24
Further work on links_admin.module, with some supporting changes to other
modules as needed.

Developers please note the change to one of the new hook functions in the
API, which has reversed the order of values in its return array. The
API.html file has details. Another change was made to the links API, but
the second change is backward-compatible.

Revision 1.24 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Dec 23 03:07:29 2008 UTC (11 months ago) by syscrusher
Branch: MAIN
Changes since 1.23: +30 -1 lines
Diff to previous 1.23
        Another interim commit. Much of links_admin is
        now functional. The sub-page to list referring
        nodes is not done yet.

        Added documentation for the new hooks in API.html.
        Developers, pay heed!

        Updated links_related and links_weblink to
        implement the new hooks as appropriate.

Revision 1.23 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Dec 21 22:13:13 2008 UTC (11 months, 1 week ago) by syscrusher
Branch: MAIN
Changes since 1.22: +10 -1 lines
Diff to previous 1.22
        Early version of links_admin.module with some
        functionality. Forms display but do NOT actually
        update anything yet. PRE-ALPHA code!

Revision 1.22 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Nov 13 00:06:43 2008 UTC (12 months, 2 weeks ago) by syscrusher
Branch: MAIN
CVS Tags: DRUPAL-6--1-0-BETA1, DRUPAL-6--1-0-BETA2
Changes since 1.21: +18 -33 lines
Diff to previous 1.21
links_weblink is now fully functional and ready for beta testing.

Revision 1.21 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Nov 1 04:04:06 2008 UTC (12 months, 3 weeks ago) by syscrusher
Branch: MAIN
Changes since 1.20: +77 -34 lines
Diff to previous 1.20
Further steps toward getting the theme calls working.

Revision 1.20 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Nov 1 00:46:30 2008 UTC (12 months, 4 weeks ago) by syscrusher
Branch: MAIN
Changes since 1.19: +25 -4 lines
Diff to previous 1.19
links_weblink now functional, though not cosmetically correct yet. Creating
weblink content now works correctly, and the weblinks do display albeit
not with perfect cosmetics for the subcategories. Improved handling of
missing or empty weblinks vocabulary.

Revision 1.19 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Jul 17 02:50:26 2008 UTC (16 months, 1 week ago) by syscrusher
Branch: MAIN
Changes since 1.18: +27 -24 lines
Diff to previous 1.18
Updated database write operations in links.inc to be compatible with D6.

Initial ("alpha") commit of partially-ported links_weblink module.

Minor bug fix to links_related module.

Revision 1.18 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Dec 14 18:52:15 2007 UTC (23 months, 2 weeks ago) by syscrusher
Branch: MAIN
Changes since 1.17: +62 -17 lines
Diff to previous 1.17
Bringing trunk (HEAD) up to latest code level.

Revision 1.15.2.9 - (view) (download) (as text) (annotate) - [select for diffs]
Wed Dec 12 04:07:28 2007 UTC (23 months, 2 weeks ago) by syscrusher
Branch: DRUPAL-5
CVS Tags: DRUPAL-5--1-8, DRUPAL-5--1-9
Changes since 1.15.2.8: +7 -4 lines
Diff to previous 1.15.2.8 , to branch point 1.15
Fixes for bugs 114151, 150970, 150906, 188655, 147226, 195430, and 131637.
Refer to CHANGELOG.txt for details.

Revision 1.15.2.8 - (view) (download) (as text) (annotate) - [select for diffs]
Fri May 4 03:55:36 2007 UTC (2 years, 6 months ago) by syscrusher
Branch: DRUPAL-5
CVS Tags: DRUPAL-5--1-7
Changes since 1.15.2.7: +6 -2 lines
Diff to previous 1.15.2.7 , to branch point 1.15
Added "edit own weblinks" permission per issue #76527. Thanks to
yched for contributing the patch.

Revision 1.15.2.7 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Apr 27 22:29:20 2007 UTC (2 years, 7 months ago) by syscrusher
Branch: DRUPAL-5
Changes since 1.15.2.6: +2 -2 lines
Diff to previous 1.15.2.6 , to branch point 1.15
Fixed incorrect use of #value (should be #default_value) for
URL form declaration in links_weblink.module, per issue #128620.

Revision 1.15.2.6 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Apr 27 22:12:07 2007 UTC (2 years, 7 months ago) by syscrusher
Branch: DRUPAL-5
Changes since 1.15.2.5: +4 -4 lines
Diff to previous 1.15.2.5 , to branch point 1.15
        API CHANGE: The function links_get_links() will now return NULL if no
        links are found, rather than returning an array with two elements
        that are themselves empty. This simplifies testing for values on
        return, but may cause errors for code that relied upon the function
        always returning an array before. This change is pursuant to #139067.

        API CHANGE: The function links_get_list() now accepts an additional
        parameter $statistics, which defaults to FALSE. This parameter
        determines whether the click count is returned as part of the
        link title, if other conditions (such as user permissions) would
        permit it so. Existing code that wants the click count enabled
        will need to add this parameter as TRUE.

Revision 1.15.2.5 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Apr 26 03:35:39 2007 UTC (2 years, 7 months ago) by syscrusher
Branch: DRUPAL-5
CVS Tags: DRUPAL-5--1-5, DRUPAL-5--1-6
Changes since 1.15.2.4: +41 -7 lines
Diff to previous 1.15.2.4 , to branch point 1.15
Committed patch #133247, by elondaits, which makes display of
weblinks in the "next category down" optional.

Revision 1.15.2.4 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Apr 26 01:16:07 2007 UTC (2 years, 7 months ago) by syscrusher
Branch: DRUPAL-5
Changes since 1.15.2.3: +7 -3 lines
Diff to previous 1.15.2.3 , to branch point 1.15
Applied patch to resolve #117108, an empty "target" attribute
on links_weblink link tags, if the target is not specified.

Revision 1.17 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Jan 28 17:06:24 2007 UTC (2 years, 10 months ago) by syscrusher
Branch: MAIN
Changes since 1.16: +2 -2 lines
Diff to previous 1.16
Fixed issue #76803, errors in link display for links_weblink.

Revision 1.15.2.3 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Jan 28 17:04:51 2007 UTC (2 years, 10 months ago) by syscrusher
Branch: DRUPAL-5
CVS Tags: DRUPAL-5--1-4
Changes since 1.15.2.2: +2 -2 lines
Diff to previous 1.15.2.2 , to branch point 1.15
Fixed issue #76803, incorrect display of link in links_weblink.module.

The patch provided with the issue report was not the right place for
the corrected logic, so that patch is not committed. However, the error
report was valid, so fixed the code in the proper place.

Revision 1.16 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Jan 28 04:40:59 2007 UTC (2 years, 10 months ago) by syscrusher
Branch: MAIN
Changes since 1.15: +8 -8 lines
Diff to previous 1.15
Resolved issue #99156 and #109847 (duplicates), for call to
deprecated form_render() function in links_weblink.module.

Resolved issue #110317, faulty SQL query in update-weblinks.php.

Resolved issue #111251, with embedded link detection failing.

Rearranged menus to be more compliant with Drupal 5.0 menu
organization.

Put a stub message into the "links admin" page since that
module doesn't work yet. Developers will need to comment out
the stub return to see the under-development form.

Revision 1.15.2.2 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Jan 28 04:37:30 2007 UTC (2 years, 10 months ago) by syscrusher
Branch: DRUPAL-5
CVS Tags: DRUPAL-5--1-3
Changes since 1.15.2.1: +6 -6 lines
Diff to previous 1.15.2.1 , to branch point 1.15
        Resolved issue #99156 and #109847 (duplicates), for call to
        deprecated form_render() function in links_weblink.module.

Revision 1.15.2.1 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Jan 28 03:39:24 2007 UTC (2 years, 10 months ago) by syscrusher
Branch: DRUPAL-5
Changes since 1.15: +3 -3 lines
Diff to previous 1.15
Resolved issue #111251, with embedded link detection failing.

Rearranged menus to be more compliant with Drupal 5.0 menu
organization.

Put a stub message into the "links admin" page since that
module doesn't work yet. Developers will need to comment out
the stub return to see the under-development form.

Revision 1.15 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Sep 11 01:46:21 2006 UTC (3 years, 2 months ago) by syscrusher
Branch: MAIN
CVS Tags: DRUPAL-5--1-2
Branch point for: DRUPAL-5
Changes since 1.14: +37 -21 lines
Diff to previous 1.14
Committing patch #82088 from Eaton, updating to Drupal 5.0 prerelease. This
is a significant fork from the 4.7 version. As Eaton points out, it is not
fully baked for 5.0 yet, but the basic core functions are working.

If testing 5.0 prerelease, you'll need to apply this update before trying
to run Drupal 5.0, because the 4.7 version of Links calls some deprecated
functions from Drupal core.

Revision 1.14 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Jun 22 03:35:57 2006 UTC (3 years, 5 months ago) by syscrusher
Branch: MAIN
CVS Tags: DRUPAL-4-7--1-1
Branch point for: DRUPAL-4-7
Changes since 1.13: +4 -7 lines
Diff to previous 1.13
Fixed issue #67796 using patch provided by douggreen, with one additional
bug fix of my own.

Revision 1.13 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Jun 22 03:01:14 2006 UTC (3 years, 5 months ago) by syscrusher
Branch: MAIN
Changes since 1.12: +2 -4 lines
Diff to previous 1.12
Committing improvements to "views" support, contributed by Eaton pursuant
to #52639, and a bug fix for the weblinks menu item, contributed by
moggy pursuant to #53942.

Revision 1.12 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Apr 8 13:47:07 2006 UTC (3 years, 7 months ago) by syscrusher
Branch: MAIN
Changes since 1.11: +2 -2 lines
Diff to previous 1.11
Fixed issue #54619, in which the weblink filter could only find links that
were attached to weblinks. Correct behavior, now implemented, is that it
can find any link that is properly identified in the filter syntax.

Revision 1.11 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Mar 24 05:15:28 2006 UTC (3 years, 8 months ago) by syscrusher
Branch: MAIN
Changes since 1.10: +1 -2 lines
Diff to previous 1.10
API change: New function links_parse_url() added. This
function takes just about anything that works as a URL,
parses it out, and returns the parsed components as well
as a normalized version. The normalized version is
synthesized by concatenating the appropriate components
depending on the URL type, rather than just by using
regular expressions on the entire URL. This yields a more
thorough validation and normalization process.

API change: The function links_normalize_url() now calls
the new links_parse_url() function to do the heavy lifting.

NOTE: Because of the above, it is necessary to recalc all
of the MD5s in the {links} table. This can easily be done
by using "update.php" (from core Drupal) to apply UPDATE 2
to the Links package. Most of your URLs will not change,
but a few may be better normalized. In my testing, a
database with 500 real URLs had only two changes, both
of which were manually inspected and found to be legitimate
normalizations.

Changed links.install to fix length of {links_node}.module
to correct issue #55372. This had already been fixed in
links.mysql, but the change didn't propagate into the new
install file.

Removed trailing PHP delimiters from files per coding
standards (http://drupal.org/node/545), thereby fixing
issues #55577 and #45940.

Removed icky DOS carriage returns from lines in links.inc,
per issue #45940.

Revision 1.10 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Mar 17 05:16:05 2006 UTC (3 years, 8 months ago) by syscrusher
Branch: MAIN
Changes since 1.9: +25 -32 lines
Diff to previous 1.9
API change: The function links_goto_bynode now allows a zero
node ID, as long as the link ID is nonzero. This will perform
a redirect as usual, though it will not be able to tally the
click from any specific node.

Significant improvements to the weblink filter, fixing the
bug reported by RayZ in issue #53572 and improving its
handling of links.

Revision 1.9 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Feb 20 16:54:18 2006 UTC (3 years, 9 months ago) by syscrusher
Branch: MAIN
Changes since 1.8: +11 -9 lines
Diff to previous 1.8
Patch by Webchick to fix issue #49987, SQL error when no weblinks exist.

Revision 1.8 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Feb 2 16:06:07 2006 UTC (3 years, 9 months ago) by syscrusher
Branch: MAIN
Changes since 1.7: +43 -31 lines
Diff to previous 1.7
Moved node API calls into separate functions, fixing issue
#43177 reported by Steve Dondley.

Revision 1.7 - (view) (download) (as text) (annotate) - [select for diffs]
Wed Feb 1 23:03:39 2006 UTC (3 years, 9 months ago) by syscrusher
Branch: MAIN
Changes since 1.6: +200 -2 lines
Diff to previous 1.6
links.module		Minor bug fixes

links_weblink.module	Added new feature to display cataloged directory
			of weblinks. See CHANGELOG.txt for details.

Revision 1.6 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Dec 27 17:51:53 2005 UTC (3 years, 11 months ago) by syscrusher
Branch: MAIN
Changes since 1.5: +2 -2 lines
Diff to previous 1.5
        Fixed SQL query for links_weblink block handler, per issue #42139.
        Patch by naudefj was correct in spirit but made against earlier
        version of module, so applied an equivalent change manually.

Revision 1.5 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Dec 12 17:34:25 2005 UTC (3 years, 11 months ago) by syscrusher
Branch: MAIN
Changes since 1.4: +199 -12 lines
Diff to previous 1.4
Numerous changes to multiple files. See CHANGELOG.txt for details.

INTERIM COMMIT -- Many more things are working, but it's not soup yet.
The node editing page for links_related still has some problems, and block
functions for links_weblink are not functional yet. Other than that,
links_weblink and links_related are "mostly functional" at this point.
I would call this a late-alpha, still not quite a beta.

On the positive side, I believe the API (links.inc) is at a "beta" level
and should remain fairly stable from now until release. It is not formally
frozen, however.

Revision 1.4 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Dec 8 04:19:28 2005 UTC (3 years, 11 months ago) by syscrusher
Branch: MAIN
Changes since 1.3: +18 -40 lines
Diff to previous 1.3
Committed links_weblink.module patch by drewish, per issue #40077.

Committed links_related.module patch by drewish (with help from
Eaton), per issue #39877.

Committed links.module patch by drewish, per issue #37385.

Revision 1.3 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Nov 20 03:00:52 2005 UTC (4 years ago) by syscrusher
Branch: MAIN
Changes since 1.2: +8 -1 lines
Diff to previous 1.2
Added hook_node_info() to links_weblink.module, fixing issue #38176.
Patch provided by Eaton...thanks!

Revision 1.2 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Nov 14 03:21:43 2005 UTC (4 years ago) by syscrusher
Branch: MAIN
Changes since 1.1: +21 -9 lines
Diff to previous 1.1
Committed changes by Eaton, per issue #37385, to begin moving to
Drupal 4.7 forms API. A *big* thanks to Eaton for this patch set!

Corrected error in HTML pointed out by xqus in issue #36853.
Good catch, xqus.

Committed link editing code from xqus, per issue #35675, and then
converted this new code to Drupal 4.7 forms API.

WARNING: This version is NOT FULLY FUNCTIONAL. In particular, there
is a known infinite loop on adding content with related links. DO
NOT use for production, and the link admin page now does not show
any links in its list. This is an interim commit of work in progress.

Revision 1.1 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Jun 10 04:29:09 2005 UTC (4 years, 5 months ago) by syscrusher
Branch: MAIN
This is the initial public (non-sandbox) commit of the code for the new
"links" bundle. It is a multi-module set that offers the following features:

1. An API for managing URLs in a generic way, and for associating these
   links in a many-to-many relationship with nodes. Each link is
   "normalized" internally, to try to merge references to the same URL
   in the database. If the same URL is used multiple times, it appears
   only once but with many node references in the {links_node} table.
   This helps to make processes such as link monitoring and dead link
   detection more efficient. The API also allows each link-node
   association to (optionally) provide an unique node-local title that
   overrides the global title for that particular URL, but only when
   that node is being displayed. In other words, the same URL can appear
   to have multiple different titles.

2. A main links.module that governs the behavior of the bundle's global
   features, and which implements common functionality such as outlink
   tabulation of clicks. Click tabulation is by node and link, so that it
   is possible to find out not only how many times an outbound link has
   been followed, but also how many times it has been followed from each
   node that refers to it.

3. A links_related.module which allows the administrator to add a link
   field to any desired node types in the system. Currently, the node type
   setting is just a boolean flag, and if on, the node can have zero to
   infinity links. In the next version, however, this will become an
   integer where 0 means no links for the given node type, +N means "up to
   N links" for each node of that type, and -N means "exactly N links
   required (non-empty URL).

4. A links_weblink.module which defines a node type of 'weblink', which
   behaves very much like the node type of the same name by Ber Kessels,
   and which in fact is based on his module's code base but uses the
   new links API.

The SQL schema for monitoring is in this release, but the monitoring
module itself is not yet finished.

This code is EXPERIMENTAL and is under extremely active development. A
project will be created for issue reporting along with this new CVS
release.

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.

  Diffs between and
  Type of Diff should be a

Sort log by:

  ViewVC Help
Powered by ViewVC 1.1.2