« May 2013»
M T W T F S S
    1 2 3 4 5
6 7 8 9 10 11 12
13 14 15 16 17 18 19
20 21 22 23 24 25 26
27 28 29 30 31    

[blog...]

24.04.2011
09:01

ics_awstats Extension in TYPO3

Screenshot of the awstats backend

ics_awstats is one TYPO3 extension using the perl awstats-script to analyze apache logfiles. It's only for backend-users to see, what's going on. It's possible to start the script manually or to schedule the execution with the TYPO3 scheduler.

 

With last update from 0.3.0 to 0.5.0 the extension stopped working on my installation. The lock-file was created but not deleted anymore and the link for removing it did'nt work.

 

I check the extension for this failure and changed to lines to reactivate it again. Because there is no bugtracker yet on forge for this project, I sent the patch to the maintainer. Hope, he will apply it soon.

 

If you like, you may checkout the patch and apply by yourself.

 

Find more:

 

UPDATE: The maintainer, ?Reto Zahner from Newmedia AG in Switzerland, fixed this issue and released 0.5.1 some days after my patch and bugreport. Thank you!

back

19.04.2011
21:36

RSS Feed with Image with TYPO3 t3blog Extension

Screenshot of RSS feed in Opera Browser

On Facebook some feeds of my blog are feeded automatically by the RSS Graffiti application. And I wonder for a while why the tt_news RSS feed contains the preview image but the t3blog RSS feed comes without it.

 

If find images with a short teaser much more interesting than only text. That's why I add an image.

 

I checked out the current class.rss.php from the forge.typo3.org repository. The developers changed a lot since the last release 1.0.0 and there is still no release 1.1.0. But this class didn't worked as expected because there is still a bug inside. So first I made a bugreport with a patch.

 

After this the content:encoded field was filled but the images where gone nevertheless. That's because they strip all  tags out of the description with the PHP function strip_tags(). So I added the -tag to the allowed tags in line 598:

 


 

 

$text = strip_tags($text, '<a><img><b><br><em><hr><i><li><ol><p><strong><ul>');

 

 

    blog

back

[ 26.02.2013 ]