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

Fix a bug within LocalAttachmentHandler and regex search returning None causing AttributeError & add html meta tags to transcript #111

Merged
merged 5 commits into from
Jun 5, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Add html meta tags
Signed-off-by: doluk <69309597+doluk@users.noreply.github.com>
  • Loading branch information
doluk committed May 23, 2024
commit ced694f8efab0354114ed1b0791f6bba1da0cc65
14 changes: 14 additions & 0 deletions chat_exporter/html/base.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,20 @@
<title>{{SERVER_NAME}} - {{CHANNEL_NAME}}</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="viewport" content="width=device-width" />
<meta name="title" content="{{SERVER_NAME}} - {{CHANNEL_NAME}}">
<meta name="description" content="Transcript of channel {{CHANNEL_NAME}} ({{CHANNEL_ID}}) from {{SERVER_NAME}} ({{GUILD_ID}}) with {{MESSAGE_COUNT}} messages. This transcript was generated on {{DATE_TIME}}.">
<meta name="theme-color" content="#638dfc" />

<!-- Open Graph / Facebook -->
<meta property="og:type" content="website" />
<meta property="og:title" content="{{SERVER_NAME}} - {{CHANNEL_NAME}}" />
<meta property="og:description" content="Transcript of channel {{CHANNEL_NAME}} ({{CHANNEL_ID}}) from {{SERVER_NAME}} ({{GUILD_ID}}) with {{MESSAGE_COUNT}} messages. This transcript was generated on {{DATE_TIME}}." />

<!-- Twitter -->
<meta name="twitter:card" content="summary" />
<meta name='twitter:title' content="{{SERVER_NAME}} - {{CHANNEL_NAME}}" />
<meta name='twitter:description' content="Transcript of channel {{CHANNEL_NAME}} ({{CHANNEL_ID}}) from {{SERVER_NAME}} ({{GUILD_ID}}) with {{MESSAGE_COUNT}} messages. This transcript was generated on {{DATE_TIME}}." />


<style>
@font-face {
Expand Down