Question
MM_XSLTransform error The server could not perform...
Hey everybody!
Thanks for all the help that has already been given. I have learned a great deal of great stuff! I do, however, have a small problem.
I have used XSL to place an RSS feed into a php web page using Dreamweaver CS3. The XSL is a fragment and the code written by Dreawmeaver via the Application panel. I also have updated Dreamweaver to the newest everything and just double checked a second ago in Help>Updates...
The RSS feed is a Blogger blog and I have the feed hosted by feedBurner and everything works fine on my Testing server, but when I upload it to the live web I do not see anything unless I check the source code which lists this in the div where the RSS feed should be: "MM_XSLTransform error.<br>The server could not perform the XSL transformation because an XSLT processor for PHP could not be found. Contact your server administrator and ask them to install an XSLT processor for PHP."
I have checked out two other threads I found on Adobe's forums:
http://www.adobe.com/cfusion/webforums/forum/messageview.cfm?forumid=12&catid=263&threadid=1175240&highlight_key=y&keyword1=MM%5FXSLTransform%20error
http://www.adobe.com/cfusion/webforums/forum/messageview.cfm?forumid=12&catid=263&threadid=1284324&enterthread=y#4645213
but neither solution seems to work, I am not super great with php or xml (yet!) but I can find my way around and if the correct solution is in one of the other threads could you just let me know where the "fix" code should go...with the php? or xsl?
My XSL code is as follows:
<?xml version="1.0" encoding="utf-8"?><!-- DWXMLSource=" http://feeds.feedburner.com/TestingBlogAllPostsCopiedFromWikipediacom" --><!DOCTYPE xsl:stylesheet [
<!ENTITY nbsp " ">
<!ENTITY copy "©">
<!ENTITY reg "®">
<!ENTITY trade "™">
<!ENTITY mdash "—">
<!ENTITY ldquo "“">
<!ENTITY rdquo "”">
<!ENTITY pound "£">
<!ENTITY yen "¥">
<!ENTITY euro "€">
]>
<xsl:stylesheet version="1.0" xmlns:xsl=" http://www.w3.org/1999/XSL/Transform" xmlns:atom=" http://www.w3.org/2005/Atom" xmlns:feedburner=" http://rssnamespace.org/feedburner/ext/1.0" xmlns:opensearch=" http://a9.com/-/spec/opensearchrss/1.0/" xmlns:atom10=" http://www.w3.org/2005/Atom">
<xsl:output method="html" encoding="utf-8"/>
<xsl:param name="itemsPerPage" select ="1" />
<xsl:template match="/">
<xsl:for-each select="rss/channel/item[position() <= $itemsPerPage]">
<h2 class="h2_class"><xsl:value-of select="title"/></h2>
<h3 class="h3_class"><xsl:value-of select="pubDate"/></h3>
<a href="{link}">Link to Full Post</a>
<p><xsl:value-of select="description" disable-output-escaping="yes"/></p>
</xsl:for-each>
</xsl:template>
</xsl:stylesheet>
If anybody can help me with this problem, maybe I have overlooked some little "not-so irrelevant" thing, or maybe I am not placing that block of code from the other thread in the right place, or maybe do I need to get a hold of my host and try to persuade them to do what the error is prompting?
If you can help I deeply appreciate it!
Have a great day!
Nathan
Thanks for all the help that has already been given. I have learned a great deal of great stuff! I do, however, have a small problem.
I have used XSL to place an RSS feed into a php web page using Dreamweaver CS3. The XSL is a fragment and the code written by Dreawmeaver via the Application panel. I also have updated Dreamweaver to the newest everything and just double checked a second ago in Help>Updates...
The RSS feed is a Blogger blog and I have the feed hosted by feedBurner and everything works fine on my Testing server, but when I upload it to the live web I do not see anything unless I check the source code which lists this in the div where the RSS feed should be: "MM_XSLTransform error.<br>The server could not perform the XSL transformation because an XSLT processor for PHP could not be found. Contact your server administrator and ask them to install an XSLT processor for PHP."
I have checked out two other threads I found on Adobe's forums:
http://www.adobe.com/cfusion/webforums/forum/messageview.cfm?forumid=12&catid=263&threadid=1175240&highlight_key=y&keyword1=MM%5FXSLTransform%20error
http://www.adobe.com/cfusion/webforums/forum/messageview.cfm?forumid=12&catid=263&threadid=1284324&enterthread=y#4645213
but neither solution seems to work, I am not super great with php or xml (yet!) but I can find my way around and if the correct solution is in one of the other threads could you just let me know where the "fix" code should go...with the php? or xsl?
My XSL code is as follows:
<?xml version="1.0" encoding="utf-8"?><!-- DWXMLSource=" http://feeds.feedburner.com/TestingBlogAllPostsCopiedFromWikipediacom" --><!DOCTYPE xsl:stylesheet [
<!ENTITY nbsp " ">
<!ENTITY copy "©">
<!ENTITY reg "®">
<!ENTITY trade "™">
<!ENTITY mdash "—">
<!ENTITY ldquo "“">
<!ENTITY rdquo "”">
<!ENTITY pound "£">
<!ENTITY yen "¥">
<!ENTITY euro "€">
]>
<xsl:stylesheet version="1.0" xmlns:xsl=" http://www.w3.org/1999/XSL/Transform" xmlns:atom=" http://www.w3.org/2005/Atom" xmlns:feedburner=" http://rssnamespace.org/feedburner/ext/1.0" xmlns:opensearch=" http://a9.com/-/spec/opensearchrss/1.0/" xmlns:atom10=" http://www.w3.org/2005/Atom">
<xsl:output method="html" encoding="utf-8"/>
<xsl:param name="itemsPerPage" select ="1" />
<xsl:template match="/">
<xsl:for-each select="rss/channel/item[position() <= $itemsPerPage]">
<h2 class="h2_class"><xsl:value-of select="title"/></h2>
<h3 class="h3_class"><xsl:value-of select="pubDate"/></h3>
<a href="{link}">Link to Full Post</a>
<p><xsl:value-of select="description" disable-output-escaping="yes"/></p>
</xsl:for-each>
</xsl:template>
</xsl:stylesheet>
If anybody can help me with this problem, maybe I have overlooked some little "not-so irrelevant" thing, or maybe I am not placing that block of code from the other thread in the right place, or maybe do I need to get a hold of my host and try to persuade them to do what the error is prompting?
If you can help I deeply appreciate it!
Have a great day!
Nathan
