diff options
author | Marco Pesenti Gritti <marco@it.gnome.org> | 2003-01-07 21:28:22 +0800 |
---|---|---|
committer | Marco Pesenti Gritti <mpeseng@src.gnome.org> | 2003-01-07 21:28:22 +0800 |
commit | 07e1bf23744ac4305406c416e1361582948a1d3e (patch) | |
tree | d24a68d5e11adb2cc0df438f8f8e78fe47f4339b /data/starthere | |
parent | 5d3540a4c4e9606adef1575b92c0142f65f1ee86 (diff) | |
download | gsoc2013-epiphany-07e1bf23744ac4305406c416e1361582948a1d3e.tar gsoc2013-epiphany-07e1bf23744ac4305406c416e1361582948a1d3e.tar.gz gsoc2013-epiphany-07e1bf23744ac4305406c416e1361582948a1d3e.tar.bz2 gsoc2013-epiphany-07e1bf23744ac4305406c416e1361582948a1d3e.tar.lz gsoc2013-epiphany-07e1bf23744ac4305406c416e1361582948a1d3e.tar.xz gsoc2013-epiphany-07e1bf23744ac4305406c416e1361582948a1d3e.tar.zst gsoc2013-epiphany-07e1bf23744ac4305406c416e1361582948a1d3e.zip |
Architecture for translatable xml/xsl start page.
2003-01-07 Marco Pesenti Gritti <marco@it.gnome.org>
* configure.in:
* data/Makefile.am:
* data/start_here.html:
* data/starthere/Makefile.am:
* data/starthere/index.xml.in:
* data/starthere/section.xsl:
* embed/mozilla/StartHereProtocolHandler.cpp:
* lib/Makefile.am:
* lib/widgets/ephy-autocompletion-window.c:
(hack_tree_view_move_selection):
* po/POTFILES.in:
Architecture for translatable xml/xsl start page.
Diffstat (limited to 'data/starthere')
-rw-r--r-- | data/starthere/Makefile.am | 12 | ||||
-rw-r--r-- | data/starthere/index.xml.in | 8 | ||||
-rw-r--r-- | data/starthere/section.xsl | 23 |
3 files changed, 43 insertions, 0 deletions
diff --git a/data/starthere/Makefile.am b/data/starthere/Makefile.am new file mode 100644 index 000000000..411c442cf --- /dev/null +++ b/data/starthere/Makefile.am @@ -0,0 +1,12 @@ +@INTLTOOL_XML_RULE@ + +xmldir = $(pkgdatadir)/starthere +xml_in_files = index.xml.in +xml_DATA = $(xml_in_files:.xml.in=.xml) + +xsldir = $(pkgdatadir)/starthere +xsl_DATA = section.xsl + +EXTRA_DIST = $(xml_DATA) \ + $(xml_in_files) + diff --git a/data/starthere/index.xml.in b/data/starthere/index.xml.in new file mode 100644 index 000000000..b24de14f1 --- /dev/null +++ b/data/starthere/index.xml.in @@ -0,0 +1,8 @@ +<?xml version="1.0"?> +<?xml-stylesheet type="text/xsl" href="section.xsl"?> +<section> +<_title>The web browser</_title> +<_paragraph>What you use it for ?</_paragraph> +<_title>Getting started</_title> +<_paragraph>How I begin ? Import bookmarks, proxy settings</_paragraph> +</section> diff --git a/data/starthere/section.xsl b/data/starthere/section.xsl new file mode 100644 index 000000000..6b349c626 --- /dev/null +++ b/data/starthere/section.xsl @@ -0,0 +1,23 @@ +<?xml version="1.0"?> +<xsl:stylesheet + xmlns:xsl="http://www.w3.org/1999/XSL/Transform" + version="1.0"> + +<!-- root rule --> +<xsl:template match="/"> + <xsl:apply-templates/> +</xsl:template> + +<!-- main rule for document element --> +<xsl:template match="section"> +<html> + <head> + </head> + <body> + <xsl:apply-templates/> + </body> +</html> +</xsl:template> + +</xsl:stylesheet> + |