tips:xls2wiki
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
tips:xls2wiki [2012-12-20 05:42] – [code] 202.6.99.163 | tips:xls2wiki [2024-01-31 20:26] (current) – 69.11.54.89 | ||
---|---|---|---|
Line 32: | Line 32: | ||
} | } | ||
- | h { | + | h1 { |
font-size: | font-size: | ||
padding: 0; | padding: 0; | ||
Line 196: | Line 196: | ||
</ | </ | ||
- | <? | + | <?php |
$s = $_POST[' | $s = $_POST[' | ||
$fromto = $_POST[' | $fromto = $_POST[' | ||
Line 214: | Line 214: | ||
$arrayS = preg_split ("/ | $arrayS = preg_split ("/ | ||
$nb_lines = count ($arrayS)-1; | $nb_lines = count ($arrayS)-1; | ||
- | $s = $s . $nb_lignes; | + | $s = $s . $nb_lines; |
$s = ""; | $s = ""; | ||
foreach ( $arrayS as $key => $lines ){ | foreach ( $arrayS as $key => $lines ){ | ||
Line 244: | Line 244: | ||
Скопируйте и вcтавьте таблицу из Excel или Wiki и нажмите [Convert!] (конвертировать) | Скопируйте и вcтавьте таблицу из Excel или Wiki и нажмите [Convert!] (конвертировать) | ||
<form method=POST action=""> | <form method=POST action=""> | ||
- | <input type=" | + | <input type=" |
- | <input type=" | + | <input type=" |
<INPUT TYPE=SUBMIT VALUE=" | <INPUT TYPE=SUBMIT VALUE=" | ||
- | < | + | < |
</ | </ | ||
<span style=" | <span style=" | ||
Line 260: | Line 260: | ||
</ | </ | ||
+ | |||
+ | There is a spell mistake here... | ||
+ | < | ||
+ | $nb_lines = count ($arrayS)-1; | ||
+ | $s = $s . $nb_lignes; | ||
+ | </ | ||
+ | |||
+ | nb_lignes should be **nb_lines**. | ||
+ | |||
===== Installation ===== | ===== Installation ===== | ||
Line 289: | Line 298: | ||
---- | ---- | ||
+ | |||
+ | > I integrated the code from the beginning into a simple plugin. I also added a few helping functions for cleaning up markup resulting from pandoc conversion of docx-files into dokuwiki markup. \\ See: https:// | ||
===== Discussion ===== | ===== Discussion ===== | ||
I've installed iframe, but I'm kind of stuck how can I add the PHP file on the page I want to embed an excel spreadsheet. Can anyone help? Thanks in advance. | I've installed iframe, but I'm kind of stuck how can I add the PHP file on the page I want to embed an excel spreadsheet. Can anyone help? Thanks in advance. | ||
Line 296: | Line 307: | ||
===== Remarks ===== | ===== Remarks ===== | ||
- | If you like this you probably love this HTML converter as well: [[http:// | + | If you like this you probably love this HTML converter as well: [[http:// |
- | + | ||
- | Bad link! | + | |
----- | ----- | ||
Line 313: | Line 322: | ||
-Steven | -Steven | ||
+ | |||
+ | Changing the ini files worked for me - you also need to restart your Apache server before it will work. --- [[user> |
tips/xls2wiki.1355978558.txt.gz · Last modified: 2012-12-20 05:42 by 202.6.99.163