Is there a way to create several weblinks at one time? A multiple input form?

CommentFileSizeAuthor
#5 weblinker.module.txt16.88 KBdman
#5 weblinker.js_.txt3.92 KBdman

Comments

nancydru’s picture

Well, when I add a link, there is a link to add another at the top of the page. From my experience with the Quotes module, which does have multiple input, I would discourage this as there are several problems with multiple inputs, including all the other stuff you can do with a node, such as taxonomy, attached images, etc. IMO, this should be marked "won't fix" but I will leave that decision to Robert.

rmiddle’s picture

Status: Active » Closed (won't fix)

I might be nice to have. Hopefully 7.x will have a more ajaxy interface for data entry but for now it goes away from the goal of making the interface as close to Drupal core as possible.

Thanks
Robert

nancydru’s picture

nancydru’s picture

Status: Closed (won't fix) » Postponed
Issue tags: +Roadmap
dman’s picture

StatusFileSize
new3.92 KB
new16.88 KB

As suggested, here's some old code ( Drupal4.7 !!)
That assisted in a migration of a site that was largely just links to other resources.

Old HTML were lists of links.

This code (IIRC) added a tab to a node that brought up a link analysis page.
- All embedded hrefs/URLs in the source text were listed
- those hrefs that represented an existing weblink were marked
- those hrefs that appeared to be unknown got a button next to them "convert to weblink"
- pressing that button would (via AJAX)
- - check the URL was valid
- - create a new weblink node for that URL
- - fetch that named URL content and extract the title of the remote page for the new weblink.

So old hand-maintained lists of links became in short order indexes of weblink nodes.
I can't remember if they were tagged
I don't know what, if any of this code is re-usable, but here it is anyway.

nancydru’s picture

Dan, you always have an interesting piece of code laying around. For others who don't know, Dan is also the one who started Taxonomy Image on the way to a contrib style module, which in turn influenced Web links to go that way.

This might also be handy for #316087: Collecting weblinks.

john bickar’s picture

I'm just starting to investigate the Web Links module but wouldn't the Node Import module work for this?

nancydru’s picture

See #91008: Import / Export / Backup links. Something along that line will probably be the solution but is not necessarily what was originally intended.

swe3tdave’s picture

subscribe