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

Pelican theme preview #213

Closed
devty1023 opened this issue Apr 28, 2014 · 20 comments
Closed

Pelican theme preview #213

devty1023 opened this issue Apr 28, 2014 · 20 comments

Comments

@devty1023
Copy link

There had to be a better way for me to preview all the pelican-themes in this repository instead of clicking on each candidates and hoping to see a live preview/screenshot. (is there??)

I created a small website that demos each theme. If the theme does not automatically generate an index.html, it is going to have a bad time... If the theme error on my compilation step for some reason, it is not included...

Source code for the webapp here.

Hope the community finds this useful.

@doobeh
Copy link

doobeh commented May 2, 2014

Exactly what I was looking for @devty1023, thanks!

@talha131
Copy link
Contributor

talha131 commented May 4, 2014

@devty1023 Cool tool! Thanks for developing it.

I suggest you to do add link to the app in Pelican Wiki.

@devty1023
Copy link
Author

thanks for the feedback guys!

@kura
Copy link
Member

kura commented Jun 11, 2014

Do you mind if i fork this and make changes so it auto updates? It seems to have not found new themes.

Maybe we could make this an official part of the Pelican site @ametaireau?

@almet
Copy link
Member

almet commented Jun 11, 2014

+1 themes.getpelican.com would be great :)

@almet
Copy link
Member

almet commented Jun 11, 2014

I guess a cronjob on the VM we have for pelican to update every day would be enough?

@kura
Copy link
Member

kura commented Jun 11, 2014

I'll get on this this week/weekend too then. I think I'll create a sample blog for it. Think you could create a report and give me perms @ametaireau?

@kura
Copy link
Member

kura commented Jun 11, 2014

I would say so. Recursive git pull and a simple configuration, post and a page or so and generate them. Maybe tie them in to imagick for a screenshot too?

-----Original Message-----
From: Alexis Metaireau notifications@github.com
To: getpelican/pelican-themes pelican-themes@noreply.github.com
Cc: Kura kura@kura.io
Sent: Wed, 11 Jun 2014 13:53
Subject: Re: [pelican-themes] Pelican theme preview (#213)

I guess a cronjob on the VM we have for pelican to update every day would be enough?


Reply to this email directly or view it on GitHub:
#213 (comment)

@almet
Copy link
Member

almet commented Jun 11, 2014

I found a bunch of problems on the script mentioned, we would need to fix before having themes.getpelican.com ready.

We can improve the existing script to have imagemagick etc, yes, but I think the first thing to do is to have it working and validate it works.

@almet
Copy link
Member

almet commented Jun 11, 2014

(We also can have it hosted at heroku if that's how it was made and if it works well like that. I can do a CNAME from themes.getpelican.com to anywhere needed, just let me know.)

@kura
Copy link
Member

kura commented Jun 11, 2014

No worries. I'll do what I can unless someone else beats me to it.

-----Original Message-----
From: Alexis Metaireau notifications@github.com
To: getpelican/pelican-themes pelican-themes@noreply.github.com
Cc: Kura kura@kura.io
Sent: Wed, 11 Jun 2014 13:59
Subject: Re: [pelican-themes] Pelican theme preview (#213)

I found a bunch of problems on the script mentioned, we would need to fix before having themes.getpelican.com ready.

We can improve the existing script to have imagemagick etc, yes, but I think the first thing to do is to have it working and validate it works.


Reply to this email directly or view it on GitHub:
#213 (comment)

@devty1023
Copy link
Author

This is great!

The script is going to have "it works on my machine" problem - it was designed to have one designated machine (my laptop) compile the themes and push it to heroku.

But nothing fancy is going on here, and I'm sure porting project to another machine should take no more than few hours. @kura, if you face any problems, just let me know. I can spend some time documenting exact steps I've taken on my machine if that helps.

@kura
Copy link
Member

kura commented Jun 12, 2014

@devty1023 script generation of themes fails but, it's easy enough for me to fix. Thanks for starting this for us man, real good idea. =)

@almet
Copy link
Member

almet commented Jul 23, 2014

Any update on this front?

@kura
Copy link
Member

kura commented Jul 24, 2014

I haven't had a lot of time lately. =( It's still on the cards, I just need to make some time to finish it.

@timwhite
Copy link

timwhite commented Jan 3, 2015

I've written something similar, and used github pages to display a page of "previews" (probably should generate smaller preview images rather than CSS scaling) with links to each site. This could also be run in a cronjob with an automated push when changes are detected.
Some themes haven't generated properly, so your mileage may vary.

http://purewhite2010.github.io/pelican-theme-demos/

Just a note, I've included a Page as well, instead of just blog posts, as most sites have at least an About page as well, and seeing how that looks is important to me when looking for a theme.

@ingwinlu
Copy link
Contributor

https://github.com/ingwinlu/pelican-themes-previewer/

just throwing this out there since i will probably not get to it soon, uses a pelican plugin which parses the pelican-themes repository and generates them into articles.

can be used to also have an rss feed of themes, and all that other fancy stuff. if someone wants to pick up, feel free to hammer me with questions.

@kchr
Copy link

kchr commented Jun 23, 2015

Please link to the theme preview solutions in this repository's README.rst or some other easily found place.

At least link to this thread!

@devty1023
Copy link
Author

Better solution exists here!

https://github.com/m-allanson/pelican-themes

@almet
Copy link
Member

almet commented Jul 28, 2015

Nice! Don't hesitate to make a pull request on the pelican docs so that this site is showcased!

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

8 participants