Make URI a link
Make URI a link
Make URI a link
XMLHttpRequest for boost and likes
That sounds nice feature.
Plume's frontend development is a little complex.
- HTML (Ructe template) files are present under
templates
directory - CSS (SCSS) files are included in themes. You can see about theme development at Creating a theme page
- Sources of JavaScript (WASM) file are present under
plume-front/src
Files of these types are compiled at Rust's compile time in build.rs
.
Additionally, you might have to develop API endpoints for boost and like. That will be achieved mostly in src/routes
directory.
Now Plume has API endpoints at /api/v1
URI. But they requires OAuth authentication to access and you will not prefer it.
- You might send a request via
XMLHttpRequest
(orfetch
) to/~/{BlogName}/{article-slug}/like
, parse HTML in response and check if it succeeded or faild. Or, - You can add API endpoint for this purpose.
Is this enough information? Feel free to ask anything.
XMLHttpRequest for boost and likes
XMLHttpRequest for boost and likes
@freyja_wildes Thank you for proposal. Could you re-create an issue at application repo because this is not about documentation issue but application feature.