<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE rss [<!ENTITY % HTMLlat1 PUBLIC "-//W3C//ENTITIES Latin 1 for XHTML//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml-lat1.ent">]>
<rss version="0.92" xml:base="http://www.publicampaign.org">
<channel>
 <title>Public Campaign - Latest News From the Wire - Comments</title>
 <link>http://www.publicampaign.org/pcnewswire</link>
 <description>Comments for &quot;Latest News From the Wire&quot;</description>
 <language>en</language>
<item>
 <title>Latest News From the Wire</title>
 <link>http://www.publicampaign.org/pcnewswire</link>
 <description>&lt;?php

$result = pager_query(db_rewrite_sql(&quot;SELECT n.*, a.*, af.nid AS feednid FROM {node} n INNER JOIN {aggregator2_item} a ON n.nid = a.nid INNER JOIN {aggregator2_feed} af ON a.fid = af.nid WHERE n.type = &#039;aggregator2_item&#039; AND n.status = 1 ORDER BY n.created DESC&quot;), 15);
while ($bing2 = db_fetch_object($result)) {
  $feedtitle = node_load(array(&#039;nid&#039; =&gt; $bing2-&gt;feednid));
  
  $date = format_date($bing2-&gt;created, &#039;custom&#039;, &#039;l, F j, Y&#039;);
  if ($date != $last) {
    $last = $date;
    $bings2[] = &#039;&lt;h2 class=&quot;date-title&quot;&gt;&#039;.$date.&#039;&lt;/h2&gt;&#039;;
  }
  
  $bings2[] = &#039;&lt;div class=&quot;news-item-main&quot;&gt;&lt;span class=&quot;blog-title&quot;&gt;&#039;;
  $bings2[] = l($bing2-&gt;title,&#039;node/&#039;.$bing2-&gt;nid);
  $bings2[] = &#039;&lt;/span&gt;&lt;br /&gt;&#039;;
  $bings2[] = &#039;&lt;span class=&quot;blog-info&quot;&gt;&#039;;
  $bings2[] = $feedtitle-&gt;title.&#039;&amp;nbsp; - &amp;nbsp;&#039;;
  $bings2[] = format_date($bing2-&gt;created, &#039;custom&#039;, &#039;M d, g:i A&#039;);
  $bings2[] = &#039;&lt;/span&gt;&lt;br /&gt;&#039;;
  $bings2[] = &#039;&lt;span class=&quot;blog-readmore&quot;&gt;&lt;p&gt;&lt;img src=&quot;/sites/www.publicampaign.org/themes/pcc3/images/readmore.png&quot; /&gt;&#039;;
  $bings2[] = l(t(&#039;read more&#039;), &quot;node/$bing2-&gt;nid&quot;);
  $bings2[] = &#039;&lt;/p&gt;&lt;/span&gt;&lt;img src=&quot;/sites/www.publicampaign.org/themes/pcc3/images/news_line.png&quot; /&gt;&lt;/div&gt;&#039;;
}
$output = &#039;&lt;div id=&quot;newspage&quot;&gt;&#039;;
$output .= theme_news_list($bings2);
$output .= &#039;&lt;/div&gt;&#039;;
$output .= theme(&#039;pager&#039;, NULL, 15);
echo $output;
?&gt;</description>
 <pubDate>Thu, 20 Jul 2006 07:06:48 -0500</pubDate>
</item>
</channel>
</rss>
