Comments (21)
It would appear that this is due to the routes taking an int
as the gist id. As far as I can tell, private gists don't have a numeric id, but can only be referenced via hash.
from gistio.
I would also appreciate this feature. Sometimes you might want beautiful texts, but not have them appear in your gist timeline.
from gistio.
Will have a think about it. Right now the service explicitly only supports public gists.
from gistio.
If you do eventually support this, make sure to add the appropriate tags and HTTP headers so the content will not get cached or crawled by search engines: http://www.i18nguy.com/markup/metatags.html
from gistio.
It might also be enabled as an option via configuration, in case someone wants to run a private-label gist.io on their own site, linking only to their own private gists.
from gistio.
+1
from gistio.
I've polled the Github API, and it works the same with getting public and private Gists.
So if I understand correctly, we just have to make the routes accept a hash and put a Robots:none header and that's it? Or am I missing something else here?
from gistio.
That is correct. I wound up implementing this in a grails project as I
needed the feature on a public website and can confirm this approach works.
Sent from my iPad
On Nov 25, 2012, at 11:17 AM, Jonathan Allard [email protected]
wrote:
I've polled the Github API, and it works the same with getting public and
private Gists.
So if I understand correctly, we just have to make the routes accept a hash
and put a Robots:none header and that's it? Or am I missing something else
here?
—
Reply to this email directly or view it on
GitHubhttps://github.com//issues/17#issuecomment-10695722.
from gistio.
Was this pull request accepted? I would also appreciate this feature. Merge!
from gistio.
@milesalex The maintainer hasn't responded
from gistio.
@idan - Please?!
from gistio.
I'm planning on implementing this, but a lot of changes under the hood will render #51 moot.
from gistio.
Please support it
from gistio.
Working on it :)
On Sep 23, 2013 10:08 AM, "Sergey Klimov" [email protected] wrote:
Please support it
—
Reply to this email directly or view it on GitHubhttps://github.com//issues/17#issuecomment-24902076
.
from gistio.
It would be amazing if gist.io supported private gists :)
from gistio.
Is there anything I could do to help this to happen?
from gistio.
It's now been a year my rejected pull request has been submitted.
from gistio.
@joallard You should make a fork and host it on your own! Call it gist2.io!
from gistio.
Sadly gist.io is not just having problems with private gists. At the moment it also cannot handle gists that once where private but then turned public.
This is, what I just tried with https://gist.github.com/datenreisender/0128e842631b1c0b908f . After making it public I wanted to create a nice gist.io link for it but then discovered that http://gist.io/0128e842631b1c0b908f does not work.
Only way for me to solve it would be to copy the content into a new gist that was public from the beginning on. But since this does not fit my workflow I rather abstained from creating a gist.io link.
from gistio.
@datenreisender You could try draft.sx (disclaimer: my own fork). I would normally not announce that here, but since @idan seems to have abandoned the project...
from gistio.
@idan ✔️ Issue can be closed.
Working URLs:
https://gist.io/85126ceb850513ecc276
➡️ https://gist.io/@divideby0/85126ceb850513ecc276https://gist.io/0128e842631b1c0b908f
➡️ https://gist.io/@datenreisender/0128e842631b1c0b908f
Regarding
If you do eventually support this, make sure to add the appropriate tags and HTTP headers so the content will not get cached or crawled by search engines
or
a
robots:none
header
I'd suggest opening a dedicated issue for that if it is (still) desirable.
from gistio.
Related Issues (20)
- Need a new maintainer / someone to help? HOT 18
- iframes in markdown / gists not displaying on gist.io HOT 1
- "Unable to Fetch Gist" for cyrillic filenames HOT 1
- Bookmarklet leads to 404 page HOT 2
- Hungarian accents are not supported by the current web font HOT 1
- not loading if gists filename has an umlaut HOT 2
- Newlines converted to BR tags HOT 3
- Restructured Text not rendering. HOT 2
- This markdown gist doesn't work HOT 1
- Long non-numeric Gist ID's with gist.io HOT 1
- gist.io doesn't seem to work at all? HOT 5
- Gist.io for documents in a full repository? HOT 5
- can't find the page on gist.io HOT 1
- Getting a 404 HOT 8
- no joy - bookmarklet doesn't work "Not Found" HOT 3
- Announcement: gist.io is dead HOT 20
- Support multi-file gists which have one markdown file HOT 5
- Switch to using the Github API HOT 2
- Caching too eagerly
- A few things left to format
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gistio.