set package_id [ad_conn package_id]

if { ![exists_and_not_null number_of_comments] || $number_of_comments == 0 } {
    set number_of_comments [parameter::get \
                                -default 10 \
                                -parameter NumberOfCommentsInIncludelet]
}

db_multirow -extend {entry_url} comments select_n_comments "" {
    set entry_url "[ad_url][lars_blog_public_package_url]/one-entry?[export_vars entry_id]"
}