From: Jim N. <ji...@xm...> - 2004-08-27 16:11:08
|
On 8/27/04 11:49 AM, "Magnus Nordlander" <ma...@no...> wrote: >> [long discussion of why Jim wants meta-creation-date deleted to save >> bandwidth..] >>=20 >> =20 > OK, I see how this could be useful. If the aquisition of the mtime is don= e > with a module overrideable user-function it wouldn't be to hard to make w= hat > you want possible, would it? >=20 > Magnus Nordlander >=20 That would do it for creation date. On the other hand, consider this: Befor= e the rawentries call back is invoked, a number of variables exist that contain the post content and the =B3metadata=B2 for that post =AD the title, the date, the post pathinfo (the path to the source of the article) etc. If it were (or maybe =B3is=B2; my php scoping knowledge is rusty) possible to overrid= e the values of any of those variables from within the rawentry callback, the= n (presumably) any number of extensions could be implemented. Some general ideas might include: >=20 * over-riding the display of the article on the main blog index page to onl= y include the first paragraph, or the article up to a specific flag within th= e article, as the =B3seemore=B2 plugin does for blosxom. * completely overriding the format specifications for a post file, so that an entirely different post format could be used to store data. One might would use this, for example, to write certain posts as XML documents, with fields for the =B3category=B2, =B3title=B2, =B3publication date=B2, =B3abstract=B2, and =B3content=B2.=20 * Less ambitiously, implementing something like =B3macro=B2 tags within a post, so that frequently used markup can be easily entered. (for example, on my blog I use this to change things in posts like >> <media type=3D=B2mp3=B2 filename=3D=B2foo.mp3=B2>Betty=B9s song</media> > into markup like >> <div class=3D=B2media=B2><a href=3D=B2/media/foo.mp3=B2><img src=3D=B2/images/mp3.gif=B2 >> border=3D=B20=B2/>Betty=B9s song</a></div> I=B9m just thinking out loud here, and haven=B9t thought much of this through, so if it=B9s chasing moonbeams, just bring me back to earth. =3D Jim --=20 |