Photoblogging with Textpattern: atom feeds
To textpattern/publish/atom.php somewhere around line 131 (in 4.0.2), or after
add this:
else { $Body = ''; // If there's no excerpt, use body as content instead of body as summary if (!trim($Excerpt)) $Body = fixup_for_feed($thisarticle['body'], permlinkurl($a)); }
add this:
// hack to get pictures to syndicate if ($a['Section'] == "photo") { $img_url = hu."images/".$a['Image'].'.jpg'; $Body = doSpecial(''.permlinkurl($a).'">'.$img_url.'" alt="the latest and greatest" />'); } // /hack