diff options
Diffstat (limited to 'data')
-rw-r--r-- | data/Makefile.am | 6 | ||||
-rw-r--r-- | data/start_here.html | 23 | ||||
-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 |
5 files changed, 44 insertions, 28 deletions
diff --git a/data/Makefile.am b/data/Makefile.am index e5d584df7..452cdd623 100644 --- a/data/Makefile.am +++ b/data/Makefile.am @@ -1,4 +1,4 @@ -SUBDIRS = ui art glade +SUBDIRS = ui art glade starthere @INTLTOOL_SERVER_RULE@ @INTLTOOL_DESKTOP_RULE@ @@ -16,9 +16,6 @@ Applications_DATA = $(DESKTOP_FILES) schemadir = $(sysconfdir)/gconf/schemas schema_DATA = epiphany.schemas -startheredir = $(pkgdatadir) -starthere_DATA = start_here.html - EXTRA_DIST = $(glade_DATA) install-data-local: @@ -32,6 +29,5 @@ CLEANFILES = $(server_DATA) $(Applications_DATA) EXTRA_DIST = $(server_in_files) \ $(schema_DATA) \ - $(starthere_DATA) \ $(DESKTOP_IN_FILES) diff --git a/data/start_here.html b/data/start_here.html deleted file mode 100644 index 73a0e908e..000000000 --- a/data/start_here.html +++ /dev/null @@ -1,23 +0,0 @@ -<html> -<head> -</head> -<body> -<h1>Welcome ...</h1> -<h2>Smart Bookmarks</h2> -<p> -Right click the icon and choose "Add Bookmark" from the menu list. -</p> -<dl> -<li> -<a type="text/smartbookmark" href="http://www.google.com/" rel="http://www.google.com/search?q=%s" title="Search the web - Google"> -Search the web - Google -</a> -</li> -<li> -<a type="text/smartbookmark" href="http://images.google.com/" rel="http://images.google.com/images?q=%s" title="Search images - Google"> -Search images - Google -</a> -</li> -</ol> -</body> -</html> 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> + |