bm_host_url (public)

 bm_host_url complete_url

Defined in packages/bookmarks/tcl/bookmarks-procs.tcl

Takes a URL and returns the host portion of it (i.e., http://hostname.com/), which always contains a trailing slash. Returns empty string if complete_url wasn't parseable.

Parameters:
complete_url (required)

Partial Call Graph (max 5 caller/called nodes):
%3 packages/bookmarks/www/bookmark-add-one-2.tcl packages/bookmarks/ www/bookmark-add-one-2.tcl bm_host_url bm_host_url packages/bookmarks/www/bookmark-add-one-2.tcl->bm_host_url packages/bookmarks/www/bookmark-edit-2.tcl packages/bookmarks/ www/bookmark-edit-2.tcl packages/bookmarks/www/bookmark-edit-2.tcl->bm_host_url packages/bookmarks/www/bookmarks-import.tcl packages/bookmarks/ www/bookmarks-import.tcl packages/bookmarks/www/bookmarks-import.tcl->bm_host_url

Testcases:
No testcase defined.
[ show source ]
Show another procedure: