oblivioncloudcontrol / xebia-email-signature Goto Github PK
View Code? Open in Web Editor NEWXebia e-mail signature generator
Xebia e-mail signature generator
With x being controversial nowadays, any chance we could allow other options?
Get the following error when running the container via cli after I filled in all the fields:
Traceback (most recent call last):
File "/usr/local/bin/xebia-signature-cli", line 8, in <module>
sys.exit(main())
File "/usr/local/lib/python3.9/site-packages/xebia_email_signature/signature.py", line 374, in main
employee_details = add_formatted_phone(employee_details)
File "/usr/local/lib/python3.9/site-packages/xebia_email_signature/signature.py", line 106, in add_formatted_phone
result = {k: v for k, v in contact_details.items()}
AttributeError: 'NoneType' object has no attribute 'items'
I do not experience this issue when I run the container via the web client.
BTW, I like to base64 the images on the html, that way email clients don't block external images (as now the images are hosted). That would be an easy addition to the page.
(curl https://assets.oblcc.com/xebia/xebia.png | base64 | pbcopy
to get the image in base64,
that you can then put in an html like so
<img width="155" height="55" id="Xebia" src="data:img/png;base64,BASE64_IMAGE_HERE" />
)
This of course makes your signature several KBs, so you can actually use the Xebia logo in SVG format
<img width="155" height="55" id="Xebia" src="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA2MTIgMjAyLjQiPgogIDxnPgogICAgPGc+CiAgICAgIDxwYXRoIGQ9Ik0yOTYuNSw5Mi44SDIzOS40QTI4LjkxLDI4LjkxLDAsMCwxLDI2Nyw3MS40YzE1LjQsMCwyNS42LDcuNiwyOS41LDIxLjRtLTU3LjQsMTkuNmg4My44di01LjNjMC0xMy44LTMuMi0yNC45LTkuNy0zNC4zLTExLjEtMTQuNy0yNy42LTIzLjctNDUuNC0yMy43LTE0LjMsMC0yOC4xLDYuMi0zOC43LDE3LjMtOS43LDEwLjMtMTQuNywyMy4yLTE0LjcsMzcuOEE1Nyw1NywwLDAsMCwyMzAsMTQyLjZjMTAuOCwxMC44LDIzLjcsMTYuMSwzOS4zLDE2LjEsMjMuMiwwLDQxLjYtMTIuOSw1MC40LTM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TUuMmwuMSwxMi45WiIgc3R5bGU9ImZpbGw6ICM2YzFkNWYiLz4KICAgIDwvZz4KICAgIDxwb2x5Z29uIHBvaW50cz0iMC45IDIwMi40IDY0LjUgMjAyLjQgMTMzLjMgMTMzLjggMjAxLjkgMjAyLjQgMjY2LjMgMjAyLjQgMTY1LjUgMTAxLjYgMjY3LjIgMCAyMDIuOCAwIDEzMy4zIDY5LjYgNjQuMiAwIDAgMCAxMDEuMSAxMDEuNiAwLjkgMjAyLjQiIHN0eWxlPSJmaWxsOiAjNmMxZDVmIi8+CiAgPC9nPgo8L3N2Zz4K" alt="Xebia" name="Xebia" />
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.