bm_get_html_keywords (public)

 bm_get_html_keywords html_code

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

Parameters:
html_code

Partial Call Graph (max 5 caller/called nodes):
%3 packages/bookmarks/www/bookmark-add-one.tcl packages/bookmarks/ www/bookmark-add-one.tcl bm_get_html_keywords bm_get_html_keywords packages/bookmarks/www/bookmark-add-one.tcl->bm_get_html_keywords packages/bookmarks/www/bookmarks-check.tcl packages/bookmarks/ www/bookmarks-check.tcl packages/bookmarks/www/bookmarks-check.tcl->bm_get_html_keywords parameter::get parameter::get (public) bm_get_html_keywords->parameter::get

Testcases:
No testcase defined.
Source code:
    set keywords ""
    regexp -nocase {<meta name="keywords" content="([^"]*)">} $html_code match keywords

    if {[string length $keywords]> [parameter::get -parameter URLKeywordsMaxLength] || [string length $keywords] > 3999 } {
    set keywords "[string range $keywords 0 3996]..."
    }

    return [string trim $keywords]
Generic XQL file:
packages/bookmarks/tcl/bookmarks-procs.xql

PostgreSQL XQL file:
packages/bookmarks/tcl/bookmarks-procs-postgresql.xql

Oracle XQL file:
packages/bookmarks/tcl/bookmarks-procs-oracle.xql

[ hide source ] | [ make this the default ]
Show another procedure: