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

How to go about integrating feature into posts #172

Open
therealjr opened this issue Oct 26, 2020 · 1 comment
Open

How to go about integrating feature into posts #172

therealjr opened this issue Oct 26, 2020 · 1 comment
Labels
support-dev Question related to working on the Maniwani codebase

Comments

@therealjr
Copy link

Originally my plan was to embed posts from other websites (subreddit, twitter, etc) in a post through a separate field that the user would then provide the link for. However what I think might be better is to automatically embed posts that are linked through the comment field. My question is, what files are pertinent to this task?

@DangerOnTheRanger DangerOnTheRanger added the support-dev Question related to working on the Maniwani codebase label Oct 27, 2020
@DangerOnTheRanger
Copy link
Owner

DangerOnTheRanger commented Oct 27, 2020

If I understand you correctly, you're trying to modify the way the imageboard posts themselves are parsed. CONTRIBUTING.md has a high-level overview of what you'll need to modify and/or add. You'll want to make an extension that looks for links to sites you want to embed, and then inserts the appropriate HTML to embed the content.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
support-dev Question related to working on the Maniwani codebase
Projects
None yet
Development

No branches or pull requests

2 participants