The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#6
|
|||
|
|||
![]()
You can edit the feed and put {feed:date} in the body template.
ETA: oops - I forgot we're talking about your custom reader script. Let me look at that... OK, try this: Change function character_data() to: Code:
function character_data($parser, $data) { global $is_item, $tag, $title, $description, $link, $date; if ($is_item) { switch ($tag) { case "TITLE": $title .= $data; break; case "DESCRIPTION": $description .= $data; break; case "LINK": $link .= $data; break; case "PUBDATE": $date .= $data; break; } } } Then at the beginning of the end_element function: Code:
function end_element($parser, $name) { global $is_item, $title, $description, $link, $rss_output, $date; then use $date in the html output. (I haven't tested this at all). |
Благодарность от: | ||
Popa Andrei |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|