0 votes
in SoSci Survey (English) by s166545 (130 points)
edited by s166545

Hello, dear support team,

I would like to embed the website directly with HTML code in the "add text". However, when I only copy the HTML code from an "index.html" data, lots of elements would not be shown. I know I should upload images first, but how should I deal with other CSS data of the website? Can I upload the whole folder to make sure the index.html works?

Thanks!!

Bests

1 Answer

0 votes
by SoSci Survey (330k points)

What and how many files do you have in "blog" and "images"? Can you move these files to the root directory?

You can upload all files (HTML, CSS, JS) to the survey project directory, so the index.html file will work properly when its contents is used as text element.

by s166545 (130 points)
there are not so many of them. I just update the screenshot in the question.

What do you mean by root directory and can you tell me more precisely how could I upload them to the survey project directory?

Thanks!
by SoSci Survey (330k points)
The root directory is that that contains your index.html currently.

>  how could I upload them to the survey project directory?

You can upload them in the *images and media files* menu.
by s166545 (130 points)
I fail to upload all files except images. When I go to "survey project - project setting - import project or questions ", I can only upload XML files, right? HTML, CSS, or JS are not working here. Should I upload them anywhere else?

Moreover, I have actually 16 sites that should be uploaded. Would the name of them be duplicated when I use HTML in the  "add text" and then can they still work?

Bests!
by SoSci Survey (330k points)
Your account has the media file upload feature and should be able to upload JS, CSS, XML in the media file tab.

> Moreover, I have actually 16 sites that should be uploaded.

Did you not say that you only exchanged one image in each page? You can easily do that with a random generator and placeholders.
by s166545 (130 points)
I found the right place to upload it. However, one of the CSS files is more than 500kb and can not be uploaded. How should I deal with it?

>Did you not say that you only exchanged one image on each page?

The main change is the image. However, the position of the image and text is also changed. Therefore I made 16 HTML folders for different sites. Can I upload all files to the median file tab? Would they mix up?

Bests!
by SoSci Survey (330k points)
> CSS files is more than 500kb and can not be uploaded.

What the *** is in that file? CSS is text, and 500k is 500 pages of text! Did you include images there, using dataURI?

> the position of the image and text is also changed.

That should only be content as stored in the HTML code.

But generally speaking, if you have files with the same file names in different folders, you will have to rename them.

Please also be aware that embedding files from other URLs/domains in the HTML content is usually no problem. That allows you to run tests with the large CSS file. When everything runs fine, we can manually upload the one super-large CSS file.
by s166545 (130 points)
>What the *** is in that file?

To be honest, I have no idea of it. This CSS file is created by Nicepage automatically. There are really lots of pages of codes inside. And I have no idea how to deal with it. I am afraid that if I delete any codes it would not work anymore.

> we can manually upload the one super-large CSS file.

In my cases, since there are 16 sites, does it mean that 16 large sites need to be uploaded?

By the way, is there any possibility that we can talk (e.g., skype?) so that I can explain my situation better?

Thanks in advance!
Bests
by SoSci Survey (330k points)
> does it mean that 16 large sites need to be uploaded?

Depends on whether they differ. I would recommend to try and do the modifications (only) in the HTML code and see if different CSS files are necessary.

> By the way, is there any possibility that we can talk (e.g., skype?)

I am doing all this support stuff for free. If I started doing video consulting, people will rush me, and I get no more sleep at all :)

What I can do here is to help out with specific questions regarding SoSci Survey. But if you need extended support regarding web design, you will have to ask a web designer. We also provide professional services at an hourly rate of 150 € plus tax.

Willkommen im Online-Support von SoSci Survey.

Hier bekommen Sie schnelle und fundierte Antworten von anderen Projektleitern und direkt von SoSci Survey.

→ Eine Frage stellen


Welcome to the SoSci Survey online support.

Simply ask a question to quickly get answers from other professionals, and directly from SoSci Survey.

→ Ask a Question

...