Comments (6)
Email filters would certainly do a better job, then, we should change the from header depending on what type of notice it is. (say [email protected] and [email protected])
Why not just have an email filter that looks for "Type : INTERNSHIP" in the email body?
Without exhaustive testing there might be cases which break the experience. In such a case, neither of the solution (email filters vs subject header) works.
I think a user set filter breaking because the format of the email changes is less bad than mftp's guarantees breaking. When a user looks at an mftp email, they know they're looking at whatever was posted, and that is the only guarantee mftp currently has to provide. Whereas if we start making assumptions about the format, and tomorrow the user receives an email that says "[Internship] Blah blah" in the subject when actually it's not, that's really bad.
from mftp.
Please describe the rationale when asking for a new feature. That allows
people not familiar with this issue to understand better what you're trying
to do.
I would be quite wary of changing the email format sent by MFTP. It's not
pretty, but one major advantage is that it corresponds pretty well to what
you see on the noticeboard. Breaking that 1-1 correspondence by recombining
different fields could be confusing or misleading if it breaks on some
input. That's why the original format was as stupid as possible.
Have you considered whether what you're trying to achieve is 1) a real need
for most users 2) difficult to achieve through less complex means like
email filters?
On Thu, 29 Sep 2016 at 15:41, Siddharth Kannan [email protected]
wrote:
https://github.com/metakgp/mftp/blob/master/update.py#L49
The data needs to be extracted from the Text portion of the message which
is inside notice['text'].The data is in HTML markup as:Type : PLACEMENT or Type : INTERNSHIP.
@zorroblue https://github.com/zorroblue @DefCon-007
https://github.com/DefCon-007 I am sure this is easy. See if you can
put it together really quickly. I will be off trying to get this out of BS4
meanwhile.—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
#7, or mute the thread
https://github.com/notifications/unsubscribe-auth/ABIZ_-rxdA0TW8cen8Ze9d3lgm40WEiLks5qu84UgaJpZM4KKEvm
.
from mftp.
@amrav Yes, sorry. The discussion didn't happen, but the thing that me and Vivek. Yes, indeed, it can be definitely achieved with email filters. I will move this into discussion. Sorry about the wrong classification :)
from mftp.
@amrav Yes, sorry about this.
Email filters would certainly do a better job, then, we should change the from header depending on what type of notice it is. (say [email protected]
and [email protected]
)
I am moving this into discussion. Sorry about the mis-classification.
cc @vivekiitkgp @nevinvalsaraj
from mftp.
One point in favor of nothing doing this is that we do not know when the format could change. Without exhaustive testing there might be cases which break the experience. In such a case, neither of the solution (email filters vs subject header) works.
is 1) a real need for most users
It's slightly non-trivial to assess. So far, we have had no complaints or requests from people using MFTP, so it is safe to assume that they are okay with it. Whether they'd like this modification or not is a different question, and I don't know the answer to it. I know, I would.
from mftp.
@amrav Yeah, that filter works 😄 I just tested it. The user can set it up, if they are so inclined. And this will break if the format changes, but it won't be too bad as chances of Type: PLACEMENT
being in an email that relates to internship is remote.
Lesson: Don't reinvent the wheel. Point taken!
Thanks for the feedback @vivekiitkgp.
from mftp.
Related Issues (20)
- Switch From Ping Mechanism To Heroku Scheduler HOT 15
- [IMPROVEMENT] Failure Monitoring HOT 4
- README update HOT 1
- Duplicate Mails HOT 1
- Project dependencies may have API risk issues HOT 1
- Move from Python 2 to 3 HOT 10
- MFTP Revamp HOT 1
- Personally tweaked features HOT 2
- Cronjob as alternative to service HOT 5
- Dockerise HOT 3
- MFTP doctor HOT 2
- Logs rotation HOT 7
- Documentation Update for MFTP as a cronjob
- Google Group Limitations HOT 1
- PWA interface
- Authorisation (only via insti account)
- NTFY Support HOT 2
- Host a custom instance of ntfy.sh HOT 1
- Add support for ntfy in the codebase HOT 4
- Add support to post to authorised topics HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mftp.