Weblinks module for Drupal 5.0 is available

chess2u.com - January 17, 2007 - 10:26

For Drupal 4.7 I have used official weblinks module: http://drupal.org/project/weblinks

But I was not satisfied with it, since:

* it is too heavy for new node type module
* it use own non-standard category system
* too much unnecessary menus and administrations possibilities (it shall be moved to separate module, if someone need it)
* module do not count clicks

The original module is not available for Drupal 5.0 and its author neither want to develop new module nor give me this rights.
That is a reason why I develop this module, which you can download from http://www.karpatchev.com/cms/drupal/weblinks.module

Try

tknospdr - January 17, 2007 - 12:47

the linksdb module. I've a feeling that it will be updated to D5 and it works really well.

Thanks,
David
http://www.floridapets.org

linksdb module is nice, but

chess2u.com - January 17, 2007 - 14:25

linksdb module is nice, but as far I remember, it is non-node type module.
I.e. you cannot use standard node features, i.e. categorize, search, attachments, category access, i18n etc.

From my side I decide to redevelop original weblinks module since it was more accurate.

------
DruChess
WinDict
------

Why not create official contributed module then?

ajayg - January 17, 2007 - 14:09

It would be better if you add this to official contribute module (with a different name perhaps)? Or Janode module and links package are similar modules and you may want to collaborate with them so community gets best of both worlds.

I could make it official

chess2u.com - January 17, 2007 - 15:55

I could make it official with different name but administration of drupal project wrote me that too many links modules available.

From my side I would prefer to continue development with module name 'weblinks' to handle weblinks node only.

Additional package module can be developed too in order to provide some standard links features.

------
DruChess
WinDict
------

Not quite right there

sepeck - January 17, 2007 - 18:00

That's not quite right. The links project replaced the weblinks project as noted on the weblinks project page in bold. Weblinks was very limited in scope and the links project allowed a stripped down api that could leverage common code as an api for other modules.

One of the features you seem interested in is ...

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 was based on his module's code base but uses the new links API.

Perhaps you could see about helping out with that project?

-Steven Peck
---------
Test site, always start with a test site.
Drupal Best Practices Guide -|- Black Mountain

The link you gave is for

chess2u.com - January 17, 2007 - 18:52

The link you gave is for Weblink project ( http://drupal.org/project/weblink ), not for WeblinkS ( http://drupal.org/project/weblinks ).
As you can see there are too many similar projects :)

I think that major problem that all these projects mix developing new node type with different tools.
That's why I did only proper weblinks node without any tools/kits/apis, which can be supplied in separate module(s).
As for me, I could handle all link (for instance categorize them etc) by using standard Drupal features.

------
DruChess
WinDict
------

...

sepeck - January 17, 2007 - 19:03

Hmm ....

well that points back again to the need for collaboration on projects whenever possible to reduce confusion for people.

-Steven Peck
---------
Test site, always start with a test site.
Drupal Best Practices Guide -|- Black Mountain

I have the same problem!

gswaim - January 18, 2007 - 00:10

I too am using weblinks version 4.7. Can I use your weblinks module to upgrade and use my old information to version 5?

Do you have a working example of this I can see?

Thanks in advance for any help you can provide!

Unfortunately my version is

chess2u.com - January 18, 2007 - 07:28

Unfortunately my version is incompatible with weblinks for 4.7 which I took as a basis for my one.

The problem in db's cell which stored number of clicks, which I want to have:

Database of my version contains only 2 values: url of link and number of clicks. It's enough ?
Previous database do not contains number of clicks, but contains additionally:

1. category information (several cells in db !), which is covered in my version by standard drupal category module
2. position of link, which could be covered in my version by number of clicks or rating of link in case rating module is used

Also previous version contains links handling kit, which should be excluded IMHO from node module (like in any other standard node modules: blog, forum etc).

Resume: you can manually add field 'clicks' in db and my module will work with previous version of db. But categorize previous links you shall make again, by using standard category module.

------
DruChess
WinDict
------

Just tried it

tknospdr - January 18, 2007 - 11:54

Your weblinks mod gave me SQL errors. What do you think of these?

www.technospider.com/~david/weblinks.png

Thanks,
David
http://www.floridapets.org

Please read INSTALL.TXT

chess2u.com - January 18, 2007 - 13:22

Please read INSTALL.TXT included into distribution package. Point 2.

INSTALL.txt file
================

1. Place the weblinks folder in your drupal/modules folder

2. Create weblinks database

CREATE TABLE `weblinks` (
  `nid` int(9) NOT NULL default '0',
  `url` varchar(255) NOT NULL default '',
  `clicks` int(11) NOT NULL default '0',
  KEY `nid` (`nid`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;

3. Enable the weblinks module at administer > modules

4. Ensure the correct users have permissions to edit their weblinks

------
DruChess
WinDict
------

Fix that

tknospdr - January 18, 2007 - 14:35

Every module so far that I've ever installed set up it's needed tables automatically. I didn't even bother to read the install text. You should fix yours so it does the same.

Thanks,
David
http://www.floridapets.org

Sorry, it is not official

chess2u.com - January 18, 2007 - 16:13

Sorry, it is not official release. Admins are decline my applications as developer - too many links modules. I have opposite opinion.
------
DruChess
WinDict
------

I understand

tknospdr - January 18, 2007 - 16:17

but that doesn't have anything to do with your install procedure.

Thanks,
David
http://www.floridapets.org

No apology necessary

swimswimswim - February 11, 2007 - 07:45

I didn't even bother to read the install text. You should fix yours so it does the same.

"Fix" implies broken. The module wasn't broken. You were just lazy, David.

Okay

tknospdr - February 11, 2007 - 13:10

Perhaps, bring it up to par with all the other mods I've installed so far then.

Thanks,
David
http://www.floridapets.org

How to create weblinks database?

swimswimswim - February 11, 2007 - 07:20

Method 1 (question)
Can I create a text file titled weblinks-database-creator.mysql that contains

CREATE TABLE `weblinks` (
  `nid` int(9) NOT NULL default '0',
  `url` varchar(255) NOT NULL default '',
  `clicks` int(11) NOT NULL default '0',
  KEY `nid` (`nid`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;

and then import it through phpMyAdmin? Will this create the weblinks database?

Method 2 (seeking confirmation)
Using phpMyAdmin, I clicked on my database, then on the "SQL" button and pasted the above code into the text field. I pressed "Go" and it seemed to have successfully created the weblinks database. W00t w00t! Is this correct?

I did it with phpMyAdmin,

chess2u.com - February 12, 2007 - 14:36

I did it with phpMyAdmin, i.e. with your method 2.
Method 1 should work too.

If you push to admin of this site to give me a right to develop this module, then I will prepare a module, which will work as standard drupal module and will not require any mysql knowledge. We could also discuss the list of module's functions, which shall be additionally implemented.
------
DruChess
WinDict
------

There is a better way

ajayg - January 18, 2007 - 16:22

I am looking for a good links module and willing to consider yours. But as sepeck mentioned there are too many different half done implementations.

If we use yours, biggest worry is what happens when you loose interest 10 months down the line? If there is an official module here at least there is a way for everybody to share patches and collaborate.

Please please work with other developers (links package seems to be most far comprehensive) so we can all benefit instead of a totally new links module.

This module is more than 10

chess2u.com - January 19, 2007 - 07:29

This module is more than 10 times smaller than previous one - it is easy to overdevelop, in case I lose interest.

Also, IMHO, weblinks node should be part of standard distribution, links are the part of internet !
Largest site in the world ( google.com ) is weblink-node-based site !
Web-links module is a standard for at least 6 years in PHP-Nuke.
------
DruChess
WinDict
------

...

sepeck - January 19, 2007 - 16:58

The founding principals behind Drupal has been vastly different then the principals behind phpNuke. This is not a bad thing, just makes Drupal very different in it's purpose, goals and evolution. We like to think that those principals have also contributed to the long term growth and success of Drupal. (Drupal, not just another CMS :)

http://drupal.org/History-mission-and-community

So, just because some other CMS package has a given feature implemented in a certain way does not mean it is right for Drupal. This is proven by the existence of two links type projects on drupal.org and your reluctance to participate collaboratively with one of them and to design your own solution.

This is also not a bad thing necessarily. It's just an Open Source thing. In order to reduce confusion, etc, many of of would rather you collaborate on improvements and features to the links module but if you wish to forge your own path, that's all right too.

-Steven Peck
---------
Test site, always start with a test site.
Drupal Best Practices Guide -|- Black Mountain

Wouldn't it be nice.......

spooky69 - January 19, 2007 - 17:16

Wouldn't it be nice if a links module allowed links to be placed and checks made for reciprocal links being in place, etc etc - a links manager module. Does anyone have any plans to build something like that? Anyone apart from me that is, as I have no idea how to do this :-)

Exactly !

chess2u.com - January 20, 2007 - 11:45

Exactly !
I also think that could be some link tools module, but it shall be different from link node module. This checker is also available in web-links module for PHP-Nuke, i.e. it is time to vote in order to include in Drupal.

Also xbview module could be included in order to sync your drupal links with your browser's bookmarks. "Display bookmarks (XBEL) in DHTML fashion".

I could prepare technical spec for this module and its submodules, in case we want to include it in Drupal.

------
DruChess
WinDict
------

Let's not underestimate the importance of such a module

spooky69 - January 20, 2007 - 17:21

With links being such a fundamental part of seo, and links management being a task that truly benefits from automation, I really think this should be an important module. After all, it doesn't matter how good a Drupal based site is if people cannot find it.

My ideal would be where visitors (members?) can add a link and say where they will place the reciprocal link, the system checks it is there and allows for automated reminders, with eventual removal of a link if the reciprocal link is not there. Checking should be undertaken automatically on a regular basis and it should be possible to adjust the text in all related emails, such as welcome, where is the reciprocal link, etc. It should of course also allow for links to be placed that are not reciprocated if placed by the site owner or based upon other criteria.

Just my 2 cents.

Members or visitors could

chess2u.com - January 22, 2007 - 12:30

Members or visitors could add their links even with this module. You can program that new links are not published until they are checked by admins. And visitors/member could categorize them too, it works already too !

Agreed that some tools features should be included in the additional module.
But I know also that autocheck not always works, I know it from php-nuke experience. There are several reasons: some web-site have not php-curl library in order to change "User-Agent" because some web-sites are closed for php-robots etc.
That's why some sites have additional link to manually inform admins that link is die.
------
DruChess
WinDict
------

Any Progress on this?

rastarr - September 13, 2007 - 05:15

Hi There,

I've been wandering around the Drupal site for days now trying to figure out how to implement the basis of having visitors to my site be able to Add A Link to the Links module. I'm still searching on how to do that - has anyone been able to successfully get a working Links Exchange running under Drupal?

Certainly the auto ability to check periodically for valid reciprocal links would be a bonus. Requiring a reciprocal link on submission and that that link be checked for validity would be almost a requirement - pretty standard stuff for any Link Exchange.

I appreciate this is an old thread however I'd hoped someone would have progressed this in the last 8 months

Hi, Try the

Summit - January 16, 2008 - 14:06

Hi,

Try the links_weblink.module inside the links package.

Greetings,
Martijn

Thanks for the response. I'm

rastarr - January 16, 2008 - 14:58

Thanks for the response.
I'm presuming you've got this working as I've outlined? Mind letting me have a look at the installation you have please ?

Cheers
Martin

www.gratis-informatie.nl

Summit - January 16, 2008 - 15:23

The website is www.gratis-informatie.nl
We are working on a couple of development aid project related to this.
Please add a link to our site.
Thanks!

greetings,
Martijn

 
 

Drupal is a registered trademark of Dries Buytaert.