Re: Re: PHP
| From: | Hannes Magnusson | Date: | Fri, 29 Jul 2011 15:00:53 +0000 |
| Subject: | Re: Re: PHP | ||
| References: | 1 2 3 4 5 | Groups: | php.webmaster |
| Request: | Send a blank email to php-webmaster+get-11801@lists.php.net to get a copy of this message | ||
On Fri, Jul 29, 2011 at 13:24, Paul Dragoonis <dragoonis@gmail.com> wrote:
> Hey Stewart,
>
> As per our previous conversation below off-list. I'm happy to work on
> the site news.
> I'd like to chat about it a bit more and then spec it out on the wiki,
> have people look over it and give their opinion (e.g: hannes).
>
> For dynamic site news, I think in the end would be manageable via
> edit.php.net but for now to keep it simple and realistic we'll try a
> different approach. I'll have to speak to yannick about reusing the
> ExtJS components on edit.php.net for something like edit.php.net/news
> or editnews.php.net, with a simple markdown or WYSIWYG editor. People
> with 'news karma' will only be able to update this accordingly. Even
Err.. this sounds like you are planning on creating some news system
and embed it with the online doc editor?
I think that is heckofalotmore then we need.
The OE will be moved to http://edit.php.net/manual and then
sometime
in the future master.php.net/manage/ will move to edit.php.net/mirrors
and edit.php.net/profile maybe..
I hope none of it will be done in extjs.
> Stewart, you mentioned "print_news" can you elaborate on that, were
> you meaning just storing the news in a raw array and just iterating
> over it? What's your thoughts here. Lets go for simple now and then
> comprehensive later.
>
> Cheers,
> Paul Dragoonis.
>
>
> On Thu, Jul 28, 2011 at 8:56 PM, Stewart Lord <stewey@ambitious.ca> wrote:
>> I was thinking much more basic. Just calling the print_news function - which might require
>> some modification.
>>
>> On 2011-07-28, at 8:24 AM, Paul Dragoonis <dragoonis@gmail.com> wrote:
>>
>>> Recent news.. ok is there an admin panel for editing news (currently?).
>>> If not I can add an edit.php.net module to manage this.
Current "news system" is a an atom file committed to
phpweb/archive/entries/date.xml.
phpweb/archive/archive.xml is then parsed on rsync by
master/scripts/update-backend (pregen_news) and generates an array of
news entries.
print_news() (phpweb/include/layout.inc) then iterates over the
entires printing out the proper category
('frontpage'/'conference'/'cfp')..
Mirrors cannot run databases or fetch external content, at most they
could use a sqlite database but I think that would cause unnecessary
rsync load..
-Hannes