Page 2 of 2
Re: Couple more questions
Posted: Tue Jan 16, 2007 9:22 am
by garvinhicking
Hi!
1. That sounds weird and should not happen. Can you check if that special characters is saved as " or ' in the database itself? It might be an event plugin that's rewriting those characters...?
2. The length of an item is only dependant on the source RSS feed. Most RSS feeds are cut-off after X words, so you'd have to ask the RSS feed owners to include more output...
HTH,
Garvin
Posted: Sat Feb 10, 2007 9:33 am
by faldo29
Hi,
May I know what changes were made to the new version of the aggregator?
I've had problems since installing it. When doing runplanet, it goes on for a while then gives a series of "Entries not successfully inserted" results. Here's an example: Save 'How to remove MBS spyware' as Entries were not successfully inserted!. Finish feed. Finish planetarium.
This occured to two of my blogs where I upgraded the aggregator. But on another blog which is an original install, it works fine (so far). The first two blogs are 1.04 while this one where it works fine is 1.11.
Do you or anyone here still have a copy of the previous version of the aggregator? I'd like to switch back to it because it was working okay until I upgraded. Perhaps you can file attach it to me in an email?
Thank you for your time.
Posted: Sat Feb 10, 2007 11:37 am
by garvinhicking
Hi!
You can fetch old versions of the plugin PHP file here:
http://php-blog.cvs.sourceforge.net/php ... p?view=log
I've just committed a new version that might fix problems on postgresql!
Best regards,
Garvin
Posted: Sun Feb 11, 2007 10:25 am
by faldo29
Hi Garv,
Thanks for the link. Downloaded the latest version (was it 1.63?) and now one of the blogs is importing again. The other one is experiencing another problem which I'm sure is not related to the aggregator.
After doing runplanet, the results were shown with each entry saying "Could not open the outfile for writing". I went into the admin area and posted a test message, same thing, Could not open the outfile for writing was shown at the top. BUT, when I went to the blog, all the entries were imported. I'm just curious what's causing the "could not open..." message.
On a totally unrelated matter, I read your note about creating a Smarty modifier to insert php includes into a template. I have absolutely no experience in this

actually. I would like to embed a language script into the pages, the script is entitled flags.php. Is the creation of the Smarty modifier the only way to go in order to embed this?
Regards,
Faldo
Posted: Mon Feb 12, 2007 1:41 pm
by garvinhicking
Hi!
Do you have the exact 'Could not open the outfile' error message? Such an error string I've never seen from s9y, so it might be something else, or maybe you didn't copy the exact message here?
On a totally unrelated matter, I read your note about creating a Smarty modifier to insert php includes into a template. I have absolutely no experience in this

actually. I would like to embed a language script into the pages, the script is entitled flags.php. Is the creation of the Smarty modifier the only way to go in order to embed this?
Where did you read this? I'm not sure what you mean.
Do you want to include output of a PHP file? If yes, did you read
http://www.s9y.org/78.html#A4 ?
Of course you could also create a config.inc.php file in the directory of your selected template with the content:
Code: Select all
<?php
$serendipity['smarty']->security = false;
and then in your smarty *.tpl files you can simple use
HTH,
Garvin
Posted: Sat Feb 24, 2007 9:05 am
by faldo29
Hi!
I noticed something about the aggregator that I thought you should be aware of. I'm using the latest aggregator version with s9y 1.1.
When I go to the backend and use "Edit Entries" to delete some unwanted articles, it throws the front page display out of sync. The sentences in the articles overshoot their boundaries and the columns holding the sidebars get moved out of their place as a result. When I runplanet and new articles are imported, all the formatting goes back in place and the sidebar columns move back to where they are supposed to be.
May I also suggest a way of filtering out articles by keywords. Example, if I set a keyword of "advertisement", all articles with that word will not be imported.
Thank you for your time.
--
Regards,
Faldo
Posted: Mon Feb 26, 2007 8:46 am
by garvinhicking
Hi!
When I go to the backend and use "Edit Entries" to delete some unwanted articles, it throws the front page display out of sync. The sentences in the articles overshoot their boundaries and the columns holding the sidebars get moved out of their place as a result. When I runplanet and new articles are imported, all the formatting goes back in place and the sidebar columns move back to where they are supposed to be.
Please post a screenshot or URL of this phenomenon. I can't make anything out of your description sadly, I'd need to see what you mean
May I also suggest a way of filtering out articles by keywords. Example, if I set a keyword of "advertisement", all articles with that word will not be imported.
That's a good suggestion, but it might clod up the interface. Where would you think to define this best?
Best regards,
Garvin