ptt / pttweb Goto Github PK
View Code? Open in Web Editor NEWPTT BBS Web Frontend
Home Page: http://www.ptt.cc/bbs/
License: MIT License
PTT BBS Web Frontend
Home Page: http://www.ptt.cc/bbs/
License: MIT License
Seems that the TemplateDirectory
set in JSON config is not stored with the files? Can we add them in? This would seem to prevent me from confirming a resolution for #8 in the recommended way (using the meta element of pages).
Thanks for any consideration you can give this :)
Currently pttweb just prints logs to stdout.
It would be nice to have a config option to specify where (and how) to output logs.
Looks like we need to modify some style for mobile devices, to prevent the x-axis overscroll,
You can also check this issue by this script:
[...document.all].filter(el=>el.getClientBoundingRect().width > window.innerWidth);
// It will return the expand elements array
According this thread #2 , I know the stylesheets are not in this repository, I'll comment some temp solution in this issue.
If there are <iframe>
element in article, it will make expand more than 100% width, cause iframe is a inline element, so we need to add box-sizing: border-box;
or display: block;
to prevent the unexpected expand.
I figure out there is a similar issue on our board, it due to some inline-block are in the <a class"board">
tag, it also make the width expand over, I thought there are a short-code workaround is change the style of this tag from display: block
to display: table
.
Also an expand issue in <span>
tag which for ascii color in title / article / signature, it'll allow the children expand to more than screen width, but I do not think it could solve without breaking change...
If these are expected user experience, please tell me and close issue.
Is there any document for install pttweb?
I do the following:
export GOPATH="$HOME/go"
go get -u github.com/ptt/pttweb
......
but failed:
$ go get -u github.com/ptt/pttweb
go: finding github.com/ptt/pttweb latest
go: finding golang.org/x/tools latest
go: finding golang.org/x/net latest
go: finding github.com/rvelhote/go-recaptcha latest
go: finding golang.org/x/sys latest
go: finding google.golang.org/genproto latest
build github.com/ptt/pttweb: cannot load github.com/ptt/pttweb/proto/api: module github.com/ptt/pttweb@latest found (v0.0.0-20200321233133-7aff4bb7b273), but does not contain package github.com/ptt/pttweb/proto/api
I suspect it is a golang version issue. Is it true? If yes, could tell me the supported go version?
If no, could tell me the install environment requirements or the install steps?
It seems that the css file is not tracked in this repo. I want to tweak the css.
Is there any way to search for an old article?
In particular, https://web.archive.org/ doesn't work with ptt.
Maybe whitelist some user agents?
(or remove the warning completely?) The warning is no longer mandatory IIRC.
or Open Graph URL for the from web page.
When I was using the web search api with the following two requests, there something strange.
The results of the first request should include the one from the second result. (>=100 should fulfill >= 95)
However, the result doesn't fulfill this logic.
https://www.ptt.cc/bbs/Boy-Girl/search?q=recommend%3A95
爆
Re: [討論] 女生最討厭男網友問什麼?
FISHBONE0914
⋯
3/25
爆
Re: [討論] 女生最討厭男網友問什麼?
sumade
⋯
3/25
爆
[求助] 在一起沒多久就想分手
klyuch
⋯
https://www.ptt.cc/bbs/Boy-Girl/search?q=recommend%3A100
爆
Re: [討論] 這個影片是不是仇女???
yy10322
⋯
3/26
爆
Re: [討論] 所以你們有純友誼的女生朋友嗎?
beeeemo
⋯
3/26
爆
Re: [討論] 女生最討厭男網友問什麼?
FISHBONE0914
⋯
3/25
爆
Re: [討論] 女生最討厭男網友問什麼?
sumade
⋯
IM software Telegram can generate preview for some pages but not for boards such as Gossiping.
Suggest adding its user-agent TelegramBot to the list (like PlurkBot does) to allow access.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.