ladobonline Posted November 26, 2014 Share Posted November 26, 2014 Hello Does anybody know how could I modify blockrss.php in order to add the post's images? I can see the images and text in the xml but I can't add them to prestashop. The xml structure is <item> <title>...</title> <link>...</link> <comments>...</comments> <pubDate>...</pubDate> <dc:creator> ... </dc:creator> <category> ... </category> <category> ... </category> <category> ... </category> <category> ... </category> <guid isPermaLink="false">...</guid> <description> <![CDATA[ <p><img src="" class="attachment-post-thumbnail wp-post-image" alt="" /></p> text here ]]> </description> <wfw:commentRss>...</wfw:commentRss> <slash:comments>...</slash:comments> </item> I'd really like to add the images and, if possible, also the first X characters of the text. I know I should modify blockrss.php in order to add the description tag but I don't really know how to do it... Does anybody help me please?? THANKS!!!! Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now