press_coverage

one of the documented procedures in this installation of the ACS
Usage:
press_coverage   publication_name   publication_link   publication_date   article_title   article_link   article_pages   abstract   template_adp
What it does:
returns a string containing one formatted press item
Defined in: /web/philip/tcl/press-defs.tcl

Source code:


    
    # Insert optional hyperlinks (clickthrough tracking optional)

    set clickthrough_p [ad_parameter ClickThroughP press]

    if {![empty_string_p $publication_link]} {
	if {$clickthrough_p != 0} {
	    set publication_name  "<a href=/ct/press/index?send_to=$publication_link>$publication_name</a>"
	} else {
	    set publication_name "<a href=$publication_link>$publication_name</a>"
	}

    }

    if {![empty_string_p $article_link]} {
	if {$clickthrough_p != 0} {
	    set article_title "<a href=/ct/press/index?send_to=$article_link>$article_title</a>"
	} else {
	    set article_title  "<a href=$article_title>$article_title</a>"
	}
    }

    return [ns_adp_parse -string $template_adp]


philg@mit.edu