Comments (6)
As a very old contributor of DasBlog's back in it's CodePlex days 12 years ago, I would very much like to see this upgrade!
Cheers Tom
from dasblog-core.
@poppastring - My personal opinions:
- Is the assumption that these files undergo no server-side transformation? Strictly html?
- As far as I know, that is how older DasBlog worked. There were pure HTML files posted under /content/static.
- The answer to question one should inform where we want to store these files? I assume a subfolder of content and we map it to the root.
- From what I recollect, legacy DasBlog used convention over configuration and stored this is /content/static folder. (i.e. same folder where we store posts but a subfolder called static under it.)
- What do we do about the file extensions? For example, I would want /somepage.html to be accessible via /somepage.
- I would think this should honor instance instance-configured routing schemes for posts. e.g. I already have static pages in my legacy install, where the .html extension is replaced with .aspx (because all my posts use aspx extension). But if someone has used newer URL scheme in a fresh install it should use whatever they are following for their blog posts (based on their site settings). This will allow me to port my older static pages and retain their link when I migrate, but for someone new, they can use whatever scheme their blog is configured to use for posts.
- Do we need or want to support generating these files via Live Writer? Or via the admin pages? Or just assume people can upload manually via FTP? I am thinking we can push decision down the road for now and assume FTP.
- V1 (basic implementation) can work under the assumption that upload is done manually. Later, it might be possible to extend this further and build a separate section for pages like WordPress does with WYSIWYG editor. If people want we can also build support using live writer later. For now, I would think, hand code the HTML and upload it to a folder for now as the first version. Any additions can be built as separate enhancements.
- There is currently an "about page" option that I think should become obsolete with this option, Thoughts?
- I would vote Yes. Let the users create as many static pages as they want like they do in WordPress and other blogging engines. That is better than giving them an option to create just 1 about us page.
@poppastring , @tomwattscom - do let me know if the above seems fine or if you have any additional ideas/thoughts since you might know the older implementation much better than me.
from dasblog-core.
@thousandtyone I think we are agreed, go for it! 👍🏿
from dasblog-core.
Done with this @poppastring. PR Submitted already. Please feel free to review. I've added documentation of how to use static pages and how this can be tested at:
Please do let me know if any added changes need to be made. Once the PR is merged, I will start working on caching for these pages and will also submit the test cases for this feature.
from dasblog-core.
I like the idea! @thousandtyone @tomwattscom
A few questions/thoughts that come to my mind: -
- Is the assumption that these files undergo no server-side transformation? Strictly html?
- The answer to question one should inform where we want to store these files? I assume a subfolder of content and we map it to the root.
- What do we do about the file extensions? For example, I would want /somepage.html to be accessible via /somepage.
- Do we need or want to support generating these files via Live Writer? Or via the admin pages? Or just assume people can upload manually via FTP? I am thinking we can push decision down the road for now and assume FTP.
- There is currently an "about page" option that I think should become obsolete with this option, thoughts?
My thoughts are mostly inline but please add your ideas too. :)
from dasblog-core.
I'm closing this since the basic implementation is complete. I'll continue to work on pieces like caching and test cases and will open them a different issues if that's okay. Feel free to re-open if you believe they should all be tracked under the same issue.
from dasblog-core.
Related Issues (20)
- Upgrade to .NET 7 HOT 1
- Add Rate limitation Policy to authentication endpoints HOT 1
- Create WebFinger support
- Update the admin page style HOT 1
- Markdown powered comments HOT 6
- Replace Selenium with Playwright
- Hyperlinks in Comments Don't Work HOT 1
- When the site is installed into a subdirectory, the "post" create/edit operations sucecss but redirect to /post HOT 1
- Use hashtags for categories.
- Use CloudEvents for enabling event-driven notifications including cross-posting.
- Distinct endpoint handler for binaries/images uploads HOT 1
- "Microblog" support HOT 2
- Need to enhance documentation for blog deployment options. HOT 6
- Trying to publish as self-contained app HOT 1
- Themes folder is hard coded as "theme" in DasBlogSettings causing custom themes css and shortcuticons to 404 HOT 4
- .NET 8 Upgrade LTS
- Category URLs for Older Das Blog Migration HOT 1
- [Bug] The Uri string is too long HOT 2
- dasblog-core init Fails HOT 3
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 dasblog-core.