Ally
Forum Replies Created
-
Forum: Plugins
In reply to: [WPeMatico RSS Feed Fetcher] [Plugin: WPeMatico] Original Date and Time+1
Please!Forum: Developing with WordPress
In reply to: Get Tags specific to CategoryGet Tags specific to Category: you can get it by installing Simple Tags plugin and calling st_tag_cloud(‘category=YOUR_CAT_ID’) on your category pages.
Forum: Fixing WordPress
In reply to: Big database fatal problemsI already tried both without much success.
I made a little investigation and found that the line:
$query_string = apply_filters(‘query_string’, $query_string);
in wp-blog-header.php is the reason of slowdown but wp doesn’t work properly without this line. Maybe there is some way to optimize the code? Could anybody help me?
Thanks a lot.Forum: Fixing WordPress
In reply to: Big database fatal problemsThanks for your suggestions.
Unfortunately i can’t get a faster server. I’ve set up the timeout but the main page still didn’t loaded. My chief will kill me :-((
Maybe there is anything to limit entries number?
Forum: Fixing WordPress
In reply to: Monthly and daily archives links problemThanks again.
The ticket’s system is down for me right now, i’ll try to do it later.Forum: Fixing WordPress
In reply to: Monthly and daily archives links problemThanks!
I’m wondering now how this could be that you didn’t faced to this problem if you’ve set up your blogs like this as you say?Forum: Fixing WordPress
In reply to: Monthly and daily archives links problemAha!
It appears that i found the reason: in classes.php there is a function get_date_permastruct() where this is set up: “Do not allow the date tags and %post_id% to overlap in the permalink structure. If they do, move the date tags to $front/date/”.
If i comment it – all works well. Does it really needed or it can be commented safely?Forum: Fixing WordPress
In reply to: Monthly and daily archives links problemI’m currently testing it on my home Windows XP. WordPress version – 1.5.1, all changed files from 1.5.1.3 copied inside.
Forum: Plugins
In reply to: RunPHP in RSS feed?Thanks a lot for your help!
Forum: Plugins
In reply to: RunPHP in RSS feed?Yes. But i don’t know if it’s correct to use CDATA and html tags inside the description.
Forum: Plugins
In reply to: RunPHP in RSS feed?This didn’t worked. 🙁
I finally maked it by setting the following:
1) add_filter(‘the_excerpt’, ‘runphp_the_content’, 1);
inside runPHP.php2) <description><![CDATA[<?php the_excerpt() ?>]]></description>
instead of
<description>the_excerpt_rss(get_settings(‘rss_excerpt_length’), 2)</description>
inside wp-rss2.phpIs it right? Is it possible to enclose description’s content in CDATA?
Forum: Plugins
In reply to: RunPHP in RSS feed?Thank you so much! This worked!!!
May be it’s also possible to make runPHP work with post’s excerpt in RSS somehow?
Forum: Plugins
In reply to: RunPHP in RSS feed?My RSS example:
<?xml version="1.0" encoding="utf-8" ?>
- <!-- generator="wordpress/1.2.2"
-->
- <rss version="2.0" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:wfw="http://wellformedweb.org/CommentAPI/">
- <channel>
<title>My Site Title</title>
<link>http://mydomain.com</link>
<description>babblings!</description>
<copyright>Copyright 2005</copyright>
<pubDate>Thu, 20 Jan 2005 23:08:15 +0000</pubDate>
<generator>http://wordpress.org/?v=1.2.2</generator>
- <item>
<title>aswdsdfsdfd</title>
<link>http://mydomain.com/2005/01/09/aaaa.html</link>
<comments />
<pubDate>Sat, 08 Jan 2005 22:51:20 +0000</pubDate>
<category>General</category>
<guid>http://mydomain.com/2005/01/09/aaaa.html</guid>
<description>wefrwt fdtghryt thyjtyjtyj</description>
- <content:encoded>
- <![CDATA[
<p>qwrewerwer<br />
<?php echo "12345678910"; ?>
</p>]]>
</content:encoded>
<wfw:commentRSS />
</item>
- <item>
<title>wwwwwwwww</title>
<link>http://mydomain.com/2005/01/06/wwwwwwwww.html</link>
<comments />
<pubDate>Wed, 05 Jan 2005 21:50:14 +0000</pubDate>
<category>General</category>
<guid>http://mydomain.com/2005/01/06/wwwwwwwww.html</guid>
<description />
- <content:encoded>
- <![CDATA[
<p><?php include('inc.php'); ?>
</p>]]>
</content:encoded>
<wfw:commentRSS />
</item>
</channel>
</rss>My posts contain php code, it is parsed well with runPHP on the pages of my site. All is ok on the site itself but not in RSS feed. Posts contain exactly the content above. What is wrong?
Thanks in advance.Forum: Plugins
In reply to: RunPHP in RSS feed?Anyone?
Forum: Plugins
In reply to: RunPHP in RSS feed?I can’t get it working whatever i do :-((((
So, http://mydomain.com/feed/rss2 is the rss feed. It contains something like that:
——————-
– <content:encoded>
– <![CDATA[
test
<?php echo “12345678910”; ?>]]>
</content:encoded>
——————-
What should i do in order to have php tags parsed BEFORE they appear inside CDATA?
May be someone could point me the right direction?
Help me, please!