4

Anyone having success with google sites(Sities.google.com)?
I needed a resume page, so used google sites to create one (I know nothing about web dev) .

Now they are giving me an ugly url when i try to publish it. I remember my friends having .github.io url when they make websites using html/css which looks decent .

So how can i move this google site to git repo? i can't see any html/css code here, only the site

Comments
  • 0
    @M1sf3t nope, they are giving me perma link like this : sites.google.com/view/choose_your_name

    But i would rather have a github.io url if possible
  • 0
    I have created a simple internal site for our small company using Google sites, since it was easy to do so.

    The problem is that Google sites uses a WYSIWYG interface to create your site so the html-css-js is not exposed to you. You can drag and drop stuff but your site will be limited to what elements Google sites allow you to drag-and-drop.

    Sites like blah.GitHub.io require you to create a site from scratch (writing your own html, CSS and JavaScript) and then committing it to a git repo with a particular name, which will then automatically be published to a GitHub.io site.
  • 2
    Make a repo on github, make it a page and just iframe or scrape and load your google site into it, I don’t think you can export the front end code out unless you view source and copy/paste everything.
  • 0
    If it's just a static website or one page then just save the webpage using your browser abd upload it to a repo on github and google how to make it a site.

    If it's more than one page then you gotta scrape it off, give httrack a shot
  • 2
    As the topic of this week is a "hack" then I suggest writing an iframe that fetches your site from google and put the parent on github, remove scrollbars and allowfullscreen and bla bla and you're done
  • 1
    Oh shit, didn't see your comment there, @C0D4 :/
  • 1
    @shaki I thought that sounded familiar🤣
  • 0
    Well thanks for help everyone. I guess it won't be easy to convert it into xyz.github.io without using scrapers or other tools.
    I was actually thinking more along the lines of buying a github.io url, and using it to publish.
    I have one from godaddy, and the site guides me to connect it to that url, but am starting to believe that its not possible to get a github io url without hosting your webpage in a github repo( which google obviously won't allow)
  • 1
    @TitanLannister you would be right, you need a repo on GitHub to get a github domain, also their free.

    Alternatively you could by xyz.com and redirect it to google sites.
  • 0
    So, willing to buy a domain but not put in the effort which you will find foolproof guides for, damn you can pay anyone here to do it for you :p
  • 0
    @shaki hehehe the last one hurted the most. Actually i had my taste of development from the Android dev side, so I don't want to get much into web dev unless absolutely necessary.

    And really the google site's url are very ugly it goes like this : https://sites.google.com/prod/view/...
    So i have to buy a domain, no matter from google or any other site to minify this ... I myself can't remember it

    Although i am currently using bit.ly shortner , but that doesn't feel the same
  • 0
    @M1sf3t

    Check out afraid.org I've been using it for quite some time and i'm happy to have come by it, maybe it'll help someone browsing this rant
  • 0
    @M1sf3t

    I just use it for a free dns A record poiting to my vps whenever i have a demo or something.

    You can still use it for a free dynamic dns service or dns backup, didn't need their paid service thus far
  • 0
    @shaki that’s what cloudflare is for 😎
  • 0
    @C0D4

    Cloudflare is ok for small short term stuff but I wouldn't trust them(anyone) with my nameservers.

    Plus with free cloudflare you get their own ssl which is a big NO for me even if it's on full strict mode, my way I still get to use my own let's encrypt
Add Comment