<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0"
    xmlns:dc="http://purl.org/dc/elements/1.1/"
     xmlns:admin="http://webns.net/mvcb/"
     xmlns:content="http://purl.org/rss/1.0/modules/content/"
     xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
	<channel>
	  <title>Ask MetaFilter questions tagged with blog and php</title>
      <link>http://ask.metafilter.com/tags/blog+php</link>
      <description>Questions tagged with 'blog' and 'php' at Ask MetaFilter.</description>
	  <pubDate>Wed, 04 Mar 2009 14:08:35 -0800</pubDate> <lastBuildDate>Wed, 04 Mar 2009 14:08:35 -0800</lastBuildDate>

      <language>en-us</language>
	  <docs>http://blogs.law.harvard.edu/tech/rss</docs>
	  <ttl>60</ttl>	  
	<item>
	<title>Image-board blog shoutbox?</title>
	<link>http://ask.metafilter.com/115844/Imageboard%2Dblog%2Dshoutbox</link>	
	<description>How can I add an image-based shoutbox to my blog? Looking for elegant, cruft-free scripts that allow me to create a kind of mini image-board within a blog post.&lt;br&gt;
&lt;br&gt;
I&apos;d like to be able to make a post (eg: &quot;What&apos;s your favourite photo of a cat sleeping in a tuba?&quot;) and then let users upload images in reply. The images could be hosted on my server, and all I&apos;d need is for the poster to leave a name/email etc.&lt;br&gt;
&lt;br&gt;
Really what I have in mind is a shoutbox like &lt;a href=&quot;http://yurivish.com/yshout/&quot;&gt;YShout&lt;/a&gt; or &lt;a href=&quot;http://www.shoutmix.com/main/&quot;&gt;Shoutmix&lt;/a&gt;, but with users leaving images instead of text.&lt;br&gt;
&lt;br&gt;
Bonus points if I can have multiple boards open at once, and if I can close boards to new messages while leaving the image galleries online. (e.g. stop accepting new &quot;cats in tubas&quot; images after one week, but start soliciting &quot;raccoons in trombones&quot;)</description>
	<guid isPermaLink="false">tag:ask.metafilter.com,2009:site.115844</guid>
	<pubDate>Wed, 04 Mar 2009 14:08:35 -0800</pubDate>
	<category>blog</category>
	<category>galleries</category>
	<category>gallery</category>
	<category>image</category>
	<category>javascript</category>
	<category>php</category>
	<category>script</category>
	<category>shoutbox</category>
	<dc:creator>Marquis</dc:creator>
	</item>
	<item>
	<title>PHP Script to Socially Network The Elderly...</title>
	<link>http://ask.metafilter.com/113650/PHP%2DScript%2Dto%2DSocially%2DNetwork%2DThe%2DElderly</link>	
	<description>Performing community work for a elderly care facility.  They are interested in hosting a &quot;facebook&quot; for their 100+ residents. Plenty of computers around. Need help choosing an open source package. Requirements:&lt;br&gt;
1. Self-hosted&lt;br&gt;
2. Dead simple to use from an end user perspective&lt;br&gt;
3. Each client has their own page&lt;br&gt;
4. Main component is allowing family members to communicate with resident and vice versa through blogging, messaging, and private email. &lt;br&gt;
5. PHP and MYSQL (if needed)&lt;br&gt;
&lt;br&gt;
I would love to use an open source package. &lt;br&gt;
&lt;br&gt;
Any suggestions? With your suggestion please list any mod/plugin/addon that might be needed to do the job :)&lt;br&gt;
&lt;br&gt;
(I&apos;ve looked at Wordpress MU, Elgg, and Drupal.  Haven&apos;t ruled them out but default install and few hours led me to believe they wouldn&apos;t fit the bill.)</description>
	<guid isPermaLink="false">tag:ask.metafilter.com,2009:site.113650</guid>
	<pubDate>Sat, 07 Feb 2009 18:26:08 -0800</pubDate>
	<category>Blog</category>
	<category>CMS</category>
	<category>Multi</category>
	<category>PHP</category>
	<category>User</category>
	<dc:creator>bleucube</dc:creator>
	</item>
	<item>
	<title>What are best practices for changing the directory of a Wordpress blog?</title>
	<link>http://ask.metafilter.com/107977/What%2Dare%2Dbest%2Dpractices%2Dfor%2Dchanging%2Dthe%2Ddirectory%2Dof%2Da%2DWordpress%2Dblog</link>	
	<description>I want to move my Wordpress blog from a subdirectory on my domain to the root directory -- i.e., I want the URL of my posts to be changed from http://www.domain.com/blog/post-permalink to http://www.domain.com/permalink . What&apos;s the best way to ensure that external links don&apos;t die? Is there a way to make sure that individual posts will retain their Google PageRank? I know that some variation on a RewriteRule in the site&apos;s .htaccess file is what I&apos;m looking for, but I&apos;m unclear on the specifics. What are best practices for this sort of transition?</description>
	<guid isPermaLink="false">tag:ask.metafilter.com,2008:site.107977</guid>
	<pubDate>Sat, 29 Nov 2008 13:06:13 -0800</pubDate>
	<category>blog</category>
	<category>change</category>
	<category>htaccess</category>
	<category>php</category>
	<category>seo</category>
	<category>url</category>
	<category>wordpress</category>
	<dc:creator>tweebiscuit</dc:creator>
	</item>
	<item>
	<title>Customizing a Wordpress function</title>
	<link>http://ask.metafilter.com/95376/Customizing%2Da%2DWordpress%2Dfunction</link>	
	<description>Wordpress/PHP question. I&apos;m working on a Wordpress theme and want to use an algorithm to alter some of the HTML it emits. I&apos;ve got a general idea of how to do this, and could probably manage a brutish implementation on my own, but my PHP-fu is weak and there is probably a better way. Here&apos;s what&apos;s going on. I&apos;m using the &lt;a href=&quot;http://code.google.com/p/blueprintcss/&quot;&gt;blueprint css&lt;/a&gt; approach for a gridded layout. And I&apos;ve got a &quot;bottom-bar&quot; of widgets, laid out in three columns. With blueprint css, the div for the third column needs &lt;tt&gt;class=&quot;last&quot;&lt;/tt&gt; added to it in (in addition to class declarations that apply to all divs) order for everything to line up right.&lt;br&gt;
&lt;br&gt;
What I want to do is get the count of widgets each time a widget is emitted, and if count mod 3 = 0, insert &apos;last&apos; into the class. Barring that, if I could insert &lt;tt&gt;class=&quot;widget-N&quot;&lt;/tt&gt; (where N=count) in all divs, I could manage, although it would be less elegant. Ideally, all browsers would magically support CSS3 and obviate this problem, but I&apos;m not holding my breath.&lt;br&gt;
&lt;br&gt;
Obviously I don&apos;t want to touch the core code. I don&apos;t mind inserting an altered version of whatever function is necessary into my functions.php file; but if there&apos;s a callback that lets me avoid doing that, so much the better.</description>
	<guid isPermaLink="false">tag:ask.metafilter.com,2008:site.95376</guid>
	<pubDate>Mon, 30 Jun 2008 06:36:19 -0800</pubDate>
	<category>blog</category>
	<category>blogging</category>
	<category>php</category>
	<category>programming</category>
	<category>scripting</category>
	<category>wordpress</category>
	<dc:creator>adamrice</dc:creator>
	</item>
	<item>
	<title>Multiple blogs </title>
	<link>http://ask.metafilter.com/86689/Multiple%2Dblogs</link>	
	<description>I&apos;m looking for a CMS/blog that allows for multiple &quot;installations&quot; to be maintained through one control panel and also allows me to add custom fields. I want to adapt a CMS/blog to keep track of separate project logs that can be maintained by one user in an office environment.  I don&apos;t want to do separate installs because that means the person has to keep logging in to different control panels.  I should also mention that I can&apos;t use Movable Type because I am using MAMP to run these logs locally on Mac OS X and I haven&apos;t figured out how to install MT (because of Perl).  Hence something with a PHP backend.</description>
	<guid isPermaLink="false">tag:ask.metafilter.com,2008:site.86689</guid>
	<pubDate>Thu, 20 Mar 2008 18:42:21 -0800</pubDate>
	<category>blog</category>
	<category>blogs</category>
	<category>multiple</category>
	<category>php</category>
	<dc:creator>phaedon</dc:creator>
	</item>
	<item>
	<title>WP Blog gone blank, Admin section is fine</title>
	<link>http://ask.metafilter.com/80322/WP%2DBlog%2Dgone%2Dblank%2DAdmin%2Dsection%2Dis%2Dfine</link>	
	<description>WorpressFilter Blog gone blank, Admin section is fine - help ! I&apos;ve upgraded my Wordprees blog to the latest version and all hell broke loose on me... First it was a full blatk blog and admin section. I&apos;ve regained access to the  admin section by deleting a theme folder but there is still a white page where somebaudy.com used to be&lt;br&gt;
&lt;br&gt;
Deleting the content of the plugins folder did not help.&lt;br&gt;
&lt;br&gt;
if it&apos;s of any help I&apos;m hosted by DreamHost</description>
	<guid isPermaLink="false">tag:ask.metafilter.com,2008:site.80322</guid>
	<pubDate>Sun, 06 Jan 2008 15:53:01 -0800</pubDate>
	<category>blog</category>
	<category>css</category>
	<category>dreamhost</category>
	<category>html</category>
	<category>mysql</category>
	<category>php</category>
	<category>wordpress</category>
	<dc:creator>Baud</dc:creator>
	</item>
	<item>
	<title>WordPress posts on a non-WordPress page?</title>
	<link>http://ask.metafilter.com/60625/WordPress%2Dposts%2Don%2Da%2DnonWordPress%2Dpage</link>	
	<description>Can I evoke the recent posts of a WordPress blog installed at mysite.com/blog/ to an non-WordPress PHP file such as mysite.com/index.php? So, my site has a blog, but I dont want my entire site to be in the blog format, just the seperate folder for the blog. However I would like to display the most recent posts of my blog on my non-blog front page.  I wish I knew the terminology to make this explanation easier :)&lt;br&gt;
&lt;br&gt;
My non-blog site uses PHP (just like WordPress does)  I was wondering if there was a to display/call the most recent posts from my WordPress blog @ mysite.com/blog onto my front page via mysite.com/index.php</description>
	<guid isPermaLink="false">tag:ask.metafilter.com,2007:site.60625</guid>
	<pubDate>Sat, 14 Apr 2007 16:45:10 -0800</pubDate>
	<category>blog</category>
	<category>php</category>
	<category>wordpress</category>
	<dc:creator>Satapher</dc:creator>
	</item>
	<item>
	<title>Pressing onward</title>
	<link>http://ask.metafilter.com/44657/Pressing%2Donward</link>	
	<description>I&apos;m working on transitioning a blog from Movable Type to Wordpress, and I&apos;m getting hung up on one technical issue Movable Type includes a Keywords field in every post, and I use it for folksonomy-style tags as a comma-delimited list. I would like for this information to survive the transition, but it isn&apos;t easy.&lt;br&gt;
&lt;br&gt;
Wordpress&apos; MT importer ignores the Keywords field entirely. Wordpress does not have a Keywords field by default, but it does allow custom fields, and with the Ultimate Tag Warrior plugin, does lots of fun taggy things.&lt;br&gt;
&lt;br&gt;
I did find a patch for an older version of the MT importer that updates it to deal with the Keywords field, but the patch doesn&apos;t apply to the current version; I know enough PHP to do about half of it manually, but after that, I&apos;m adrift.&lt;br&gt;
&lt;br&gt;
thanks in advance (and no offense, Anil).</description>
	<guid isPermaLink="false">tag:ask.metafilter.com,2006:site.44657</guid>
	<pubDate>Thu, 17 Aug 2006 14:44:55 -0800</pubDate>
	<category>blog</category>
	<category>import</category>
	<category>movabletype</category>
	<category>php</category>
	<category>wordpress</category>
	<dc:creator>adamrice</dc:creator>
	</item>
	<item>
	<title>hard to find a stripped down piece of software...</title>
	<link>http://ask.metafilter.com/44538/hard%2Dto%2Dfind%2Da%2Dstripped%2Ddown%2Dpiece%2Dof%2Dsoftware</link>	
	<description>I&apos;m looking for a simple PHP blog. There&apos;s a catch... Here&apos;s the thing. I don&apos;t want a CMS, I have a well-developed website written in PHP &amp;amp; mySQL.  What I want is a blog &quot;module&quot; that just plugs into my existing PHP pages so that I keep the look/feel of my website.  For example (this is made-up code):&lt;br&gt;
&lt;br&gt;
&lt;code&gt;&lt;br&gt;
  &lt; ?php include &apos;miniblog_setup.php&apos;; show_blog_entries(script_name); ?&gt;&lt;br&gt;
&lt;/&gt;&lt;/code&gt;&lt;br&gt;
&lt;br&gt;
would get inserted in my existing PHP template.  I could write my own mySQL wrapper in PHP and use phpMyAdmin to make blog entries, but there *must* be the possibility to add a blog (or wiki or whatever) as a plug-in module into an existing non-CMS website and doesn&apos;t require smarty or any other stuff that isn&apos;t raw php/mysql... thoughts?</description>
	<guid isPermaLink="false">tag:ask.metafilter.com,2006:site.44538</guid>
	<pubDate>Wed, 16 Aug 2006 11:47:17 -0800</pubDate>
	<category>blog</category>
	<category>php</category>
	<dc:creator>pissfactory</dc:creator>
	</item>
	<item>
	<title>How do I fetch the slug, sans domain, in WordPress/PHP?</title>
	<link>http://ask.metafilter.com/43888/How%2Ddo%2DI%2Dfetch%2Dthe%2Dslug%2Dsans%2Ddomain%2Din%2DWordPressPHP</link>	
	<description>Learning my way around WordPress.  How do I fetch the slug text, sans domain, in WordPress/PHP? Neither the docs nor Google seem to have an answer for me.&lt;br&gt;
&lt;br&gt;
I don&apos;t, for example, want &lt;a href=&quot;http://codex.wordpress.org/Template_Tags/the_permalink&quot;&gt;the_permalink()&lt;/a&gt;, which returns a fully-qualified URL.  I want &lt;i&gt;just&lt;/i&gt; the slug text, as bolded below:&lt;br&gt;
&lt;br&gt;
http://www.domainypants.com/06/07/31/&lt;b&gt;this-is-the-slug&lt;/b&gt;/&lt;br&gt;
&lt;br&gt;
I have enough programming acumen to figure out how to strip this out of the larger permalink if necessary, but I&apos;d like to know, definitively, if I need to or if WordPress actually makes this available out of the box.</description>
	<guid isPermaLink="false">tag:ask.metafilter.com,2006:site.43888</guid>
	<pubDate>Mon, 07 Aug 2006 20:26:42 -0800</pubDate>
	<category>blog</category>
	<category>permalink</category>
	<category>php</category>
	<category>slug</category>
	<category>wordpress</category>
	<dc:creator>cortex</dc:creator>
	</item>
	<item>
	<title>PHP class for externally posting to blogs?</title>
	<link>http://ask.metafilter.com/42952/PHP%2Dclass%2Dfor%2Dexternally%2Dposting%2Dto%2Dblogs</link>	
	<description>Anyone know of  a decent PHP class or function library out there for externally posting to various weblog packages (Wordpress, Blogger, Movable Type) via XML-RPC? I want to add &quot;post to your blog&quot; functionality to a website but I haven&apos;t had much success tracking something like this down. Pointers to anything helpful would be appreciated.</description>
	<guid isPermaLink="false">tag:ask.metafilter.com,2006:site.42952</guid>
	<pubDate>Tue, 25 Jul 2006 13:38:48 -0800</pubDate>
	<category>blog</category>
	<category>blogger</category>
	<category>movabletype</category>
	<category>php</category>
	<category>programming</category>
	<category>web</category>
	<category>wordpress</category>
	<category>xmlrpc</category>
	<dc:creator>frenetic</dc:creator>
	</item>
	<item>
	<title>MT PHP API?</title>
	<link>http://ask.metafilter.com/42527/MT%2DPHP%2DAPI</link>	
	<description>Movable Type PHP library: is it possible to use the PHP library in the same fashion as the perl library? Maybe I am not making sense. MT comes w/ the perl library, e.g. MT.pm, Entry.pm, etc.&lt;br&gt;
&lt;br&gt;
I&apos;ve taken lately to writing shell scripts and cron jobs in PHP, but I have one perl script (and another coming) that must be in perl cos they use the MT library to write an automated entry, e.g.:&lt;br&gt;
&lt;br&gt;
$entry = MT::Entry-&amp;gt;new;&lt;br&gt;
...&lt;br&gt;
$entry-&amp;gt;save;&lt;br&gt;
$mt-&amp;gt;rebuild_entry(Entry =&amp;gt; $entry, BuildDependencies =&amp;gt; true) or die $mt-&amp;gt;errstr;&lt;br&gt;
&lt;br&gt;
So but lately MT comes with an extensive PHP library (mt directory/php/lib). But it seems like this isn&apos;t really a library/API, but rather some basic functions. Is it possible to duplicate the above functionality using MT&apos;s php lib?</description>
	<guid isPermaLink="false">tag:ask.metafilter.com,2006:site.42527</guid>
	<pubDate>Wed, 19 Jul 2006 15:36:34 -0800</pubDate>
	<category>blog</category>
	<category>movabletype</category>
	<category>perl</category>
	<category>php</category>
	<dc:creator>xmutex</dc:creator>
	</item>
	<item>
	<title>How to build a family website?</title>
	<link>http://ask.metafilter.com/40538/How%2Dto%2Dbuild%2Da%2Dfamily%2Dwebsite</link>	
	<description>How do I build an interactive family website? How do I build an interactive family website?&lt;br&gt;
 &lt;br&gt;
I&apos;m just now getting up to speed on XHTML and CSS thanks to all the great suggestions in &lt;a href=&quot;http://ask.metafilter.com/mefi/38990&quot;&gt;this&lt;/a&gt; thread (I&apos;m almost finished with the &lt;a href=&quot;http://www.oreilly.com/catalog/hfhtmlcss/&quot;&gt;Head First book&lt;/a&gt;, woo hoo!).  Now I want to try my hand at building a simple family website which would (1) require a password for entry (2) allow family members to post text and images (3) allow for thread-like discussions and, perhaps (4) permit members to have their own separate pages or sections of the site.  &lt;br&gt;
&lt;br&gt;
Suggestions?  So far I&apos;m doing everything through a text editor to make sure I learn the concepts, but I&apos;d be happy to use appropriate website software.  Is this something I should be able to do with, say, WordPress or Moveable Type? Does the interactive element mean I need to learn PHP?   My website host says they provide PHP and MySQL Replication, if that&apos;s any help.</description>
	<guid isPermaLink="false">tag:ask.metafilter.com,2006:site.40538</guid>
	<pubDate>Tue, 20 Jun 2006 03:43:45 -0800</pubDate>
	<category>blog</category>
	<category>community</category>
	<category>family</category>
	<category>interactive</category>
	<category>PHP</category>
	<category>software</category>
	<category>website</category>
	<dc:creator>mono blanco</dc:creator>
	</item>
	<item>
	<title>Formatting Combined Feeds as a Daily Link List</title>
	<link>http://ask.metafilter.com/35354/Formatting%2DCombined%2DFeeds%2Das%2Da%2DDaily%2DLink%2DList</link>	
	<description>I have been using &lt;a href=&quot;http://www.reblog.org/&quot;&gt;reblog&lt;/a&gt; to combine two feeds (for a &lt;b&gt;blog&lt;/b&gt; and a &lt;b&gt;forum&lt;/b&gt;) which I then publish through Feedburner. What I want to do is have the &lt;i&gt;blog&lt;/i&gt; part of my feed update normally (i.e. individual posts) and the &lt;i&gt;forum&lt;/i&gt; part of my feed compiled into a daily link list (which itself is published as if it were ONE feed post each day)... What ways exist for me to do this? I have already devised a simple way to do this, but I cannot edit the output.&lt;br&gt;
&lt;br&gt;
At the moment I have reblogger publish my forum feed to a delicious account. Then using the feedburner link-splicer, delicious posts are called up at the end of each day and compiled as a daily link list in my feed.&lt;br&gt;
&lt;br&gt;
Problem is I can&apos;t edit the title, format etc. of the output. (I&apos;d like to change the title of this daily post to read something like &apos;Forum Activity for 30th March 2006&apos;)&lt;br&gt;
&lt;br&gt;
Any other methods to do this? (my knowledge of PHP and the like is slim, so be gentle).&lt;br&gt;
&lt;br&gt;
Thanks a lot</description>
	<guid isPermaLink="false">tag:ask.metafilter.com,2006:site.35354</guid>
	<pubDate>Wed, 29 Mar 2006 21:49:31 -0800</pubDate>
	<category>blog</category>
	<category>blogging</category>
	<category>blogs</category>
	<category>delicious</category>
	<category>feeds</category>
	<category>internet</category>
	<category>links</category>
	<category>php</category>
	<category>rss</category>
	<dc:creator>0bvious</dc:creator>
	</item>
	<item>
	<title>Favourite Wordpress plugins?</title>
	<link>http://ask.metafilter.com/33861/Favourite%2DWordpress%2Dplugins</link>	
	<description>What are your favourite Wordpress plugins? I&apos;m overwhelmed by the selection of plugins available.  Which ones would you unabashedly recommend?</description>
	<guid isPermaLink="false">tag:ask.metafilter.com,2006:site.33861</guid>
	<pubDate>Mon, 06 Mar 2006 18:33:23 -0800</pubDate>
	<category>blog</category>
	<category>php</category>
	<category>plugin</category>
	<category>wordpress</category>
	<dc:creator>furtive</dc:creator>
	</item>
	<item>
	<title>Which PHP-based blogging tool should I use?</title>
	<link>http://ask.metafilter.com/33850/Which%2DPHPbased%2Dblogging%2Dtool%2Dshould%2DI%2Duse</link>	
	<description>Which PHP-based blogging tool should I use? I&apos;m getting married this summer, and with most guests coming from out of town, I thought it would be a good idea to set up a blog for any news and information I need to provide. I have a domain and hosting I&apos;d like to use, and I have PHP/MySQL setup on the server. Which package would fit my needs? It would be nice if it a) was free and b) has some decent tempates, my design sucks.</description>
	<guid isPermaLink="false">tag:ask.metafilter.com,2006:site.33850</guid>
	<pubDate>Mon, 06 Mar 2006 14:23:00 -0800</pubDate>
	<category>blog</category>
	<category>php</category>
	<category>software</category>
	<dc:creator>sauril</dc:creator>
	</item>
	<item>
	<title>Titles in EventCalendar?</title>
	<link>http://ask.metafilter.com/33296/Titles%2Din%2DEventCalendar</link>	
	<description>Help with Eventcalendar on my Wordpress blog? Thanks to Askme, I am happily using Wordpress.  I have eventcalendar 3.0.4 installed and I am trying to get the titles of the events to show up in the calendar itself.   I followed the instructions in &lt;a href=&quot;http://wordpress.org/support/topic/27491?replies=21&quot;&gt;this thread&lt;/a&gt; at the WP support site, and you can see the code I am using and a link to my site in the post I left there earlier.  Does anyone here know why there is extra code in my calendar?</description>
	<guid isPermaLink="false">tag:ask.metafilter.com,2006:site.33296</guid>
	<pubDate>Fri, 24 Feb 2006 18:05:14 -0800</pubDate>
	<category>blog</category>
	<category>eventcalendar</category>
	<category>php</category>
	<category>plugin</category>
	<category>wordpress</category>
	<dc:creator>Biblio</dc:creator>
	</item>
	<item>
	<title>Simpe PHP Code Question</title>
	<link>http://ask.metafilter.com/30178/Simpe%2DPHP%2DCode%2DQuestion</link>	
	<description>How do I arrange this PHP code so that it does what it is supposed to do? First of all, here is the code:&lt;br&gt;
&lt;br&gt;
&lt;a href=&quot;http://rafb.net/paste/results/QUVmtU10.html&quot;&gt;http://rafb.net/paste/results/QUVmtU10.html&lt;/a&gt;&lt;br&gt;
&lt;br&gt;
Specifically, I&apos;m concerned with lines 6-48, the IF/ELSE stuff. I don&apos;t know PHP but I can usually figure code like this with a little trial and error. Thus far I&apos;ve failed with this piece though. At first it was just a bunch of IF statements with an ELSE at the end. Then I tried using a flag so that anytime the IF failed, the ELSE would be triggered. That didn&apos;t work either. Basically, I want the IF/ELSE statement to apply to each of the &quot;IFs.&quot; Right now, it logically works with the &quot;photos&quot; line since that&apos;s the only one where the if is followed directly by the ELSE (I thought the flags would fix this but it didn&apos;t). I tried also putting the ELSE statement after each of the IFs but that seems to break things. How do I arrange the code so that it works with &quot;bookmarks,&quot; &quot;links&quot; and &quot;clippings&quot;? Presently, when I click the photos link, it only shows photos. But for the other three, it&apos;ll show both the IF and the ELSE. I hope my question makes sense. Thanks for any help you provide. If needed, I can post a link to the blog where the code is presently in use (but not correctly implemented obviously).&lt;br&gt;
&lt;br&gt;
Feel free to use &lt;a href=&quot;http://rafb.net/paste/&quot;&gt;Paste ();&lt;/a&gt; if you want to alter the code.</description>
	<guid isPermaLink="false">tag:ask.metafilter.com,2006:site.30178</guid>
	<pubDate>Wed, 04 Jan 2006 12:13:27 -0800</pubDate>
	<category>blog</category>
	<category>code</category>
	<category>php</category>
	<category>resolved</category>
	<dc:creator>panoptican</dc:creator>
	</item>
	<item>
	<title>Suggestions for Parsing Blog Feeds Using PHP?</title>
	<link>http://ask.metafilter.com/16850/Suggestions%2Dfor%2DParsing%2DBlog%2DFeeds%2DUsing%2DPHP</link>	
	<description>Can anyone suggest good PHP books or existing scripts that can help me successfully parse RSS 1.0, 2.0 and Atom 0.3 feeds, then save them to a MySQL database? I&apos;m developing a website that aggregates entries from various blogs dedicated to a specific topic.   (Blog authors have agreed to participate.)  I&apos;ve currently got a version working using Ari Paparo&apos;s &lt;a href=&quot;http://www.aripaparo.com/archive/000526.html&quot;&gt;RSStoMySQL&lt;/a&gt; script, but it only seems to work with RSS 1.0 feeds.  I&apos;m successfully converting some non-1.0 feeds using FeedBurner.com, but it isn&apos;t working for others.  Basically the script seems very particular.  Any suggestions on other ways I can also successfully scrape Atom and RSS 2.0 feeds?  To be clear, my solution needs to save entries to a MySQL database so I can manage entries in several ways.</description>
	<guid isPermaLink="false">tag:ask.metafilter.com,2005:site.16850</guid>
	<pubDate>Mon, 28 Mar 2005 21:15:26 -0800</pubDate>
	<category>atom</category>
	<category>blog</category>
	<category>parsing</category>
	<category>php</category>
	<category>rss</category>
	<dc:creator>jeanmari</dc:creator>
	</item>
	<item>
	<title>MoveableType</title>
	<link>http://ask.metafilter.com/10023/MoveableType</link>	
	<description>As a self-imposed php refresher, I&apos;ve recently been toying around with writing custom movable type submission frontends for a few less web-literate family members (Basically just simplified forms that throw the user input into the MT mysql database).  I&apos;ve got everything ticking along nicely, but none of the submitted entries will show up until I log in and rebuild the site from within movable type.  My question: Is there some way to either force a rebuild from a custom form, or automate a rebuild?  I&apos;ve searched the MT forums with no success.  I&apos;m using MT 2.64 with minimal knowledge of its inner workings.   Any suggestions / pointers  / links are appreciated!</description>
	<guid isPermaLink="false">tag:ask.metafilter.com,2004:site.10023</guid>
	<pubDate>Wed, 08 Sep 2004 19:54:39 -0800</pubDate>
	<category>blog</category>
	<category>custom</category>
	<category>customize</category>
	<category>developer</category>
	<category>development</category>
	<category>movabletype</category>
	<category>mt</category>
	<category>php</category>
	<category>program</category>
	<category>programming</category>
	<category>rebuild</category>
	<dc:creator>adamkempa</dc:creator>
	</item>
	
	</channel>
</rss>

