예제 #1
0
    ?>
]]></title>
        <link href="<?php 
    echo $Discussion->Url;
    ?>
"/>
        <id><?php 
    echo $Discussion->DiscussionID . '@' . Url('/discussions');
    ?>
</id>
        <author>
            <name><?php 
    echo Gdn_Format::text($Discussion->FirstName);
    ?>
</name>
            <uri><?php 
    echo htmlspecialchars(url('/profile/' . $Discussion->InsertUserID . '/' . $Discussion->FirstName, true));
    ?>
</uri>
        </author>
        <updated><?php 
    echo date('c', Gdn_Format::ToTimeStamp($Discussion->DateLastComment));
    ?>
</updated>
        <summary><![CDATA[<?php 
    echo Gdn_Format::RssHtml($Discussion->Body, $Discussion->Format);
    ?>
]]></summary>
    </entry>
<?php 
}
예제 #2
0
        <link><?php 
    echo url(userUrl($Author, '', 'activity'), true);
    ?>
</link>
        <pubDate><?php 
    echo date('r', Gdn_Format::ToTimeStamp(val('DateUpdated', $Activity)));
    ?>
</pubDate>
        <dc:creator><?php 
    echo Gdn_Format::text($Author->Name);
    ?>
</dc:creator>
        <guid
            isPermaLink="false"><?php 
    echo val('ActivityID', $Activity) . '@' . Url(userUrl($Author, '', 'activity'));
    ?>
</guid>
        <?php 
    if ($Story = val('Story', $Activity)) {
        ?>
            <description><![CDATA[<?php 
        echo Gdn_Format::RssHtml($Story, val('Format', $Activity));
        ?>
]]>
            </description>
        <?php 
    }
    ?>
    </item>
<?php 
}
예제 #3
0
    ?>
</title>
      <link><?php 
    echo Url(UserUrl($Author, '', 'activity'), TRUE);
    ?>
</link>
      <pubDate><?php 
    echo date('r', Gdn_Format::ToTimeStamp(GetValue('DateUpdated', $Activity)));
    ?>
</pubDate>
      <dc:creator><?php 
    echo Gdn_Format::Text($Author->Name);
    ?>
</dc:creator>
      <guid isPermaLink="false"><?php 
    echo GetValue('ActivityID', $Activity) . '@' . Url(UserUrl($Author, '', 'activity'));
    ?>
</guid>
      <?php 
    if ($Story = GetValue('Story', $Activity)) {
        ?>
      <description><![CDATA[<?php 
        echo Gdn_Format::RssHtml($Story, GetValue('Format', $Activity));
        ?>
]]></description>
      <?php 
    }
    ?>
   </item>
<?php 
}