Re: [SMARTY] XMap Plugin and XNavigator Template
| From: | Roberto Berto | Date: | Mon, 27 May 2002 09:45:26 +0000 |
| Subject: | Re: [SMARTY] XMap Plugin and XNavigator Template | ||
| References: | 1 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-4400@lists.php.net to get a copy of this message | ||
There are the version 0.3 in freshmeat.
http://freshmeat.net/projects/xmap
Dont try to open homepage. Just download the tar.gz direcly.
If freshmeat do not publish the version 0.3 yeat, get it from
http://opensource.under.com.br/xmap/xmap-0.3.tar.gz,
but I recommend you download from freshmeat to get subscribed in.
The new version show a example to get from the xml sitemap:
<sitemap>
<map id="home">
<title>Welcome to freshmeat.net</title>
<url>/</url>
<description>freshmeat maintains the Web's largest index
of Unix and cross-platform open source software. Thousands of
applications are meticulously cataloged in the freshmeat database, and
links to new code are added daily.</description>
<keywords>freshmeat free software open source opensource
gpl gnu fsf license linux unix application apps applications latest new
fresh recent linux download code project release update
editorial</keywords>
<name>HOME</name>
<menu>basic</menu>
<map id="browse">
...
</map>
...
</map>
</sitemap>
The parms title, url, description, keywords, name, menu where the tag
map = "home".
It uses XPath to get values. XMap is only some XPath predefinied paths
that works with sitemap xml files.
New examples and XMap applications will be build soon.
On Thu, 23 May 2002 17:28:37 -0300
Roberto Berto <berto@under.com.br> wrote:
> Hi all,
>
> XMap is wrapper to XPath. There are some paths prebuild and a standard
> xml file that it loads and parse.
>
> Basicly it was made to centralize all title, descriptions, keywords,
> menulocations, etc of a page.
>
> It not pretend to substitute Smarty Config files, but is a different -
> XML + XPATH - way to help site developers organize their sites.
>
> You need get some files and put it to plugins dir:
>
> Download all files in this directory and remove all .txt from the
> files. The .tpl its the XNavigator to be used.
> http://opensource.under.com.br/smarty-plugins/
>
> You must download also the following files, and rename them to
> shared.xmap.php and shared.xml.php:
> http://www.phpclasses.org/browse.html/package/581.html - get
> everything and rename class.xmap.php to shared.xmap.php
> http://www.phpclasses.org/browse.html/package/180.html - get
> only
> xml.php rename to shared.xml.php
>
>
> XMap is being to be approved at freshmeat and phpclasses:
> At phpclasses:
> http://www.phpclasses.org/browse.html/package/581.html
> At freshmeat: http://freshmeat.net/projects/xmap
>
>
>
> Atenciosamente,
>
> ---------------------------------------------------------
> Roberto Bertó, e-Consultor
> Cel: 51 91169628
> email: berto@under.com.br
>
> UNDER DEVELOPMENT - http://www.UNDER.com.br
> Tel/FAX: 51 32270599 Rua Duque de Caxias, 1594 apto. 204
> CEP 900010-281 - Porto Alegre - RS
> ---------------------------------------------------------
Atenciosamente,
---------------------------------------------------------
Roberto Bertó, e-Consultor
Cel: 51 91169628
email: berto@under.com.br
UNDER DEVELOPMENT - http://www.UNDER.com.br
Tel/FAX: 51 32270599 Rua Duque de Caxias, 1594 apto. 204
CEP 900010-281 - Porto Alegre - RS
---------------------------------------------------------
Attachment: [application/pgp-signature]
Attachment: [application/pgp-signature]