webViewLink now returning "404 Not Found" - google-apps

URIs to public folders that were viewable last week via webViewLink now return HTTP 404 - Not Found errors.
The folders are still public, contain index.html and are listed in this test script:
https://googledrive.com/host/0B0YvUuHHn3Mna3Rzb19tLTYyOXc/
Nothing has changed in either the web folders or the webViewLink. Has something changed on the server?

This is an intentional change. As mentioned in the comments, "Anyone with the link" will not work, and should be "Public on the web". Google will update the documentation.
This was unfortunately changed without warning to the community, and this is inexcusable. Really sorry if you were bitten by this.

Ok. I got it.
So if you still will not be able to see your html public, open the index file and
File -> Allow viewers to download.
Yes, and do make the folder and the files shared as "Public on the web".

Related

Github html preview from html file not working

I Have seen several posts regarding this feature to preview HTML file on GitHub. Some suggest prepending https://htmlpreview.github.io/ before the real URL and some suggestions to create GitHub pages that I don't want to do now because then I have to re-create most of the thing on .yml
But my confusion is why this link showing HTML preview but not mine when I prepend the same string on my repo's HTML page. Please let me know If any other way I can see the HTML preview on github
Working:
https://htmlpreview.github.io/?https://github.com/bartaz/impress.js/blob/master/index.html
Not Working:
https://htmlpreview.github.io/?https://github.com/sany2k8/setuptools/blob/master/How_to_Install_Spark_on_Ubuntu.html
Showing 404 Not Found
Error: Cannot load
https://raw.githubusercontent.com/sany2k8/setuptools/master/How_to_Create_Github_Pages.html:
404 Not Found
Check these steps:
-Your repository is public.
(Settings>General>Danger Zone>Change repository visibility>Make public)
-The size of the files are not very large.
-The Repository link is in HTTPS and not in SSH.
EDIT:
I found this question about the private repository and preview, if you want to take a look.
When your html file is excessively big then often github may fail to open the file. In such cases you can check the raw version of the HTML file.

Paste multiple pages from an other dokuwiki

I copy pasted pages and datas from my local dokuwiki(windows) to an ftp dokuwiki (linux), the pages exist but cant be accessed, the
[[:informatique:angouleme:inventaire_licences|Inventaire Licences]]
the link state that the page exist but all i get is 'this page doesn't exist yet' i see nothing wierd with &do=debug i got no error message.
Note that it workds to copy paste data repo or pages repo. it works even if the sitmap isn't updated.
the
$html_output = ob_get_clean();
trigger_event('TPL_CONTENT_DISPLAY', $html_output, 'ptln');
is returning me the generic answer when he cant find the file i want him to show
i wish to know what is going wrong, thanks for the help.
The pages might have different permission which the www-data can't access.
Did you check your server error logs? It will give you more information about the exact problem.
Also, try the searchIndex plugin
I feel pretty stupid about it, when passing from a windows server to a Unix server i forget the caps handling are different and so i bad references to my namespaces where my files had caps and dokuwiki biuld all the links without

Git Hub Pages not Deploying. (404)

I am new to web-development. I am trying to just start off by deploying my 1 page website just to sort of see how it works.
I followed all of the steps that I saw on a tutorial and I just get a 404. (file not found) https://juteland.github.io
Here is my repo. https://github.com/Juteland/juteland.github.io
If someone is good at this and can tell me what I am doing wrong that would be great!
Thanks!
Try this:
https://juteland.github.io/Documents/WebDev%20/IsomodularWebsite/
You have page on above link. You don't have index.html page on that directory. Hence it is showing 404 not found.
There are two directories inside juteland.github.io as per your github link:
Desktop/IsomodularWebsite
Documents/WebDev /IsomodularWebsite
As I am able to see both the directories contain the same number of files and both are duplicates.
Try the following steps:
You delete one of them. (Let's say you delete Documents/WebDev /IsomodularWebsite)
Move all files of Desktop/IsomodularWebsite inside juteland.github.io directly and then delete Desktop/IsomodularWebsite also.
It is really 404, because you don't have index.html or index.htm or something that is specified as the entry point as a webpage in your repository root.
Your webpage is there, https://juteland.github.io/Documents/WebDev%20/IsomodularWebsite, with "strange" long URL.
Why do you put your web page inside such a long and meaningless folders?

Jekyll site attempting to download 'Posts' page instead of rendering it when link is clicked (deployed at Github)

Folks, help is needed and MUCH appreciated with a fuzzy behaviour of Jekyll site deployed to Github.
The site works perfectly when putting it up and using it in the local machine (through 'jekyll serve'). The surprise came up upon deployment to Github, the HTML 'posts.html' page created to show the post list does not get rendered at all. The rest of the site is up and running fine, but once the link is clicked to reach the mentioned page the browser is trying to DOWNLOAD the file, instead of rendering.
If you need to have a peek at the code:
https://github.com/zekdeluca/zekdeluca.github.io
And the site can be seen at:
http://zekdeluca.github.io/
Thanks in advance!
It has to do with the permalink and how the extension-less urls are working. If you add a trailing slash to your url it will work. If you are trying to do it without the trailing slash, I was under the impression that what you did would work on GH.
Something like permalink: /my-page/ will work and it creates a folder called my-page with an index.html file in it. The url will show as /my-page/ without the index.html - pretty except the trailing slash.
If you do permalink: /my-page it should be making a file my-page.html, but in your case it seemed to have made just my-page with no extension, which is then being served as a file by github and it doesn't seem to know what it is so it is downloading it instead of serving it.
There seems to be a lot of conflicting info on this, I think the behavior has changed recently, and maybe the version GH is using is able to output a file with no extension? I did not think that was the case.
more reading:
http://overengineer.net/pretty-extensionless-urls-in-github-pages-using-jekyll/
Jekyll extension-less permalinks with markdown

how to implement facebook in my application for iPhone

I have complete code for implemention for facebook in my application But the problem arises as follow :
Firstly whenever i import FBConnect\FBConnect.h the error will show that it doesn't "NO such file or direectory"
secondly due to this error i have 182 error in my application..
Thanks
You need to tell the compiler where to find the header files; in XCode, this is called "Header Search Path". You will also have linker errors later if the libraries aren't accessible.
Find "Header Search Paths" in build settings. Enter full path of the facebook sdk src folder(upto the folder-facebook-iphone-sdk/src) there.
This is assuming you have copied the reference of the FBConnect folder in your project and not the files themselves.
I tried by copying the files directly, but couldn't do so. Following the facebook developer wiki word by word would solve your problem.
Take care to see that your file name is correct..if so then check it out that that the file is present in the correct directory..