You are here: Re: Tool to build RSS feed? « PHP Programming Language « IT news, forums, messages
Re: Tool to build RSS feed?

Posted by Toby A Inkster on 05/30/07 08:02

Gilles Ganault wrote:

> http://svn.sourceforge.net/viewvc/demiblog/trunk/blog/includes/Feed.class?view=markup
>
> //Fatal error: Call to undefined function get_branding()
> $r.= sprintf("\t\t<generator>%s</generator>\n",
> htmlentities(get_branding(FALSE)));

That's my feed class -- eek! I didn't know that Feed.class called the
"get_branding" function -- I thought it was reasonably independent of
the rest of demiblog. I'll make changes ASAP to remove this dependency.

In the mean time, I recommend creating a function get_branding like this:

function get_branding () { return "Your Site Name"; }

--
Toby A Inkster BSc (Hons) ARCS
[Geek of HTML/SQL/Perl/PHP/Python/Apache/Linux]
[OS: Linux 2.6.12-12mdksmp, up 95 days, 15:44.]

Non-Intuitive Surnames
http://tobyinkster.co.uk/blog/2007/05/25/non-intuitive-surnames/

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация