Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Way to embed? #33

Open
ghost opened this issue Nov 13, 2015 · 3 comments
Open

Way to embed? #33

ghost opened this issue Nov 13, 2015 · 3 comments

Comments

@ghost
Copy link

ghost commented Nov 13, 2015

Would love to be able to embed an image stream generated by Panoptikos. Is there a way to do that?

@ChristianSiegert
Copy link
Owner

Panoptikos does not generate streams itself, it gets its content from Reddit via Reddit’s API and simply displays it. The only way you could embed Panoptikos is via an <iframe> on your website. If this is what you want to do, I could add a URL parameter so you are able to hide the navigation of Panoptikos, making the embedded content look more like a stream and less like a website. If you want more control, you could use Reddit’s API directly. It is straight-forward, e.g. here is a list of threads for /r/wallpapers and /r/EarthPorn.

@ghost
Copy link
Author

ghost commented Nov 16, 2015

That would be awesome, actually. I think that's what I'm envisioning -
hiding the nav, but keeping the current aesthetic.

On Sat, Nov 14, 2015 at 12:51 PM, Christian Siegert <
[email protected]> wrote:

Panoptikos does not generate streams itself, it gets its content from
Reddit via Reddit’s API https://github.com/reddit/reddit/wiki/API and
simply displays it. The only way you could embed Panoptikos is via an

<iframe> on your website. If this is what you want to do, I could add a URL parameter so you are able to hide the navigation of Panoptikos, making the embedded content look more like a stream and less like a website. If you want more control, you could use Reddit’s API directly. It is straight-forward, e.g. here is a list of threads for /r/wallpapers and /r/EarthPorn https://www.reddit.com/r/wallpapers+EarthPorn.json.


Reply to this email directly or view it on GitHub
#33 (comment)
.

@bonology
Copy link

"I could add a URL parameter so you are able to hide the navigation of Panoptiko"

  1. How ? What is the url like?
  2. And how to make the iframe responsive?
    Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants