Loading...
 
Skip to main content

Features / Usability


Import HTML

Hi

There are options on the edit page screens for Import HTML and Import page. I cannot make these do anything other than produce the following error when selection a local HTML file.

Notice: Undefined index: type in C:\xampp\htdocs\tiki\tiki-editpage.php on line 628

This is a new install and errors on this, a LAMPP on Red Hat 9 install and my hosting site (wherever that is)

I have upped every permission I can find and given every right to HTML to the user I am using and to the Registered user account in case something odd is happening there.

Any advice?

My aim is to import pages directly into the wiki edit page in whatever format I can but preferably from html files (converting them to wiki or not)

I'm a newbie but would appreciate this kick start.

Andy

> Hi
>
> There are options on the edit page screens for Import HTML and Import page. I cannot make these do anything other than produce the following error when selection a local HTML file.
>
> Notice: Undefined index: type in C:\xampp\htdocs\tiki\tiki-editpage.php on line 628
>
> This is a new install and errors on this, a LAMPP on Red Hat 9 install and my hosting site (wherever that is)
>
> I have upped every permission I can find and given every right to HTML to the user I am using and to the Registered user account in case something odd is happening there.
>
> Any advice?
>
> My aim is to import pages directly into the wiki edit page in whatever format I can but preferably from html files (converting them to wiki or not)
>
> I'm a newbie but would appreciate this kick start.
>
> Andy
>

I will try to help out here.
If what you want to do is import your html file into the wiki editor you will have marginal success. At least that has been my experience, even with full html support enabled in the "Administration: Wiki" setup page.

What I have done is uploaded any html, doc, pdf files that I want people to see on my wiki page to the file galleries. Then I create a wiki page to reference those uploaded files.

Look here: http://doc.tikiwiki.org/tiki-index.php?page_ref_id=270Question
For a reference on how to link within wiki. HINT: don't hardcode http://yoursiteQuestion in the wiki links incase you want to move or create a backup copy of your wiki to another site.

You can look at this link on how to set up the MIME types in wiki if you want the ability to search the contents of the uploaded files. This is how to set it up in Linux. I'm not sure of the MIME commands for Windows.
http://tikiwiki.org/tiki-view_forum_thread.php?comments_parentId=24343&topics_threshold=0&topics_offset=56&topics_sort_mode=lastPost_desc&topics_find=&forumId=4Question

ShaunS


Thanks ShaunS

I already have the file gallery and Integrator both working well but like everybody else I have documents I'd like to bring in without hassle and thought the options sounded good. I can always do my conversion to htm and cut and paste into wiki. I guess I should assume these functions simply don't do anything and ignore them or is there a time and place where they could be used?

Thanks for the useful MIME link too. All of my stuff is on Linux apart from one PC version I use for playing.

If anybody else knows anything about the import file options and how to make them work I'd appreciate info.

Andy