Comments (3)
Definitely leaning towards an import script that'll convert everything to markdown with frontmatter based on the post type.
from blog.izs.me.
Plan:
- Download tumblr data using https://github.com/bbolli/tumblr-utils
- for each json downloaded, create a markdown file at
src/pages/{YYYY}/{MM}/{slug}/index.md
- appropriate frontmatter and the caption/body in the body of the markdown
- a redirection from
/post/{id}/{slug}
- Download all the images for photosets and update the urls to be relative
Note that the created markdown files will have to vary based on the type of post. Since Tumblr doesn't require titles, some of them might not have them.
from blog.izs.me.
w00t, working now.
from blog.izs.me.
Related Issues (20)
- tag pages HOT 3
- make code blocks pretty HOT 2
- fetch all images so they're local HOT 1
- CDN HOT 1
- redirections
- date archives? HOT 1
- search HOT 1
- "Ask Me" form
- <Post> tag HOT 1
- <Header> tag
- photosets on narrow screen widths look very bad HOT 1
- make the header background image responsive in height
- move css out of <Helmet> to avoid FOUC HOT 1
- easy way to post a twitter thread HOT 1
- Posts without a date linked in header HOT 1
- Use cleaner graphql with fragments and types? HOT 1
- Write blog post about this HOT 1
- document plugin and split out into separate package HOT 1
- tags should always be lowercase HOT 2
- OG and twitter:card meta tags HOT 1
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 blog.izs.me.