Update Vcs-* headers.
[debian/nanobloggertrackback.git] / trackbacklist.sh
1 # NanoBlogger trackback(list) Plugin, requires tb-standalone
2 # creates a list of trackbacks to an entry
3 #
4 # sample code for template - based off default stylesheet with extensions
5 #
6 # <div class="tb">
7 # $NB_TrackBacks
8 # </div>
9
10 if [ ! -z "$TB_PATH" ]; then
11         nb_msg "generating trackback lists ..."
12
13         PLUGIN_OUTFILE="$BLOG_DIR/$PARTS_DIR/tb.$NB_FILETYPE"
14         /usr/bin/wget -q -O $PLUGIN_OUTFILE "${TB_PATH}?__mode=show&tb_id=$NB_EntryID"
15         NB_TrackBacks=$(< "$PLUGIN_OUTFILE")
16 fi