Browse Source

Use begin_export

Bastien 2 years ago
parent
commit
6411875c50
1 changed files with 4 additions and 5 deletions
  1. 4 5
      index.org

+ 4 - 5
index.org

@@ -9,7 +9,6 @@
 #+CATEGORY:   worg
 #+OPTIONS:    H:3 num:nil toc:t \n:nil ::t |:t ^:t -:t f:t *:t tex:t d:(HIDE) tags:not-in-toc
 
-
 # For this dynamic block to work, you need to add code/elisp/worg.el in
 # your load-path.
 
@@ -19,7 +18,7 @@
 # collaboratively editing Org files to build a knowledge database about
 # =.org= itself (and planning-related stuff.)
 
-#+BEGIN_HTML
+#+BEGIN_EXPORT HTML
 <form action="http://www.google.com/cse" id="cse-search-box">
   <div>
     <input type="hidden" name="cx" value="002987994228320350715:z4glpcrritm" />
@@ -29,7 +28,7 @@
   </div>
 </form>
 <script type="text/javascript" src="http://www.google.com/coop/cse/brand?form=cse-search-box&lang=en"></script>
-#+END_HTML
+#+END_EXPORT
 
 # We put true links to the server, as sitemap.org and theindex.org are
 # generated on the server during the publication
@@ -160,13 +159,13 @@ maintained by Matthew Lundin, a group of [[file:worgers.org][Worg contributors]]
 
 ** Latest changes to the Worg git repository
 
-#+begin_html
+#+begin_export html
 <script language="JavaScript" src="http://feed2js.org//feed2js.php?src=http%3A%2F%2Forgmode.org%2Fw%2F%3Fp%3Dworg.git%3Ba%3Drss%3Bopt%3D--no-merges&num=10&au=y&date=y&targ=y&utf=y"  charset="UTF-8" type="text/javascript"></script>
 
 <noscript>
 <a href="http://feed2js.org//feed2js.php?src=http%3A%2F%2Forgmode.org%2Fw%2F%3Fp%3Dworg.git%3Ba%3Drss%3Bopt%3D--no-merges&num=10&au=y&date=y&targ=y&utf=y&html=y">View RSS feed</a>
 </noscript>
-#+end_html
+#+end_export
 
 Note: You can also subscribe to changes via [[http://orgmode.org/w/?p%3Dworg.git%3Ba%3Drss%3Bopt%3D--no-merges][RSS]] or [[http://orgmode.org/w/?p%3Dworg.git%3Ba%3Datom%3Bopt%3D--no-merges][ATOM]] (courtesy of repo.or.cz).