You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add a "send email" button in each individual FEUP employee hyperlink (e.g. Teacher)
Allow to select multiple FEUP employees to send an email
My main motivation for this is when having to contact more than one teacher from search results or from course unit pages. The typical approach is to open the profile in separate pages and copy the links. With batch email I could select multiple users without that manual process. Furthermore, for single recipients, I could click one button near the user name/link without having to move to a different page to get the email.
Tasks
Fetch the profile view page for parsing the institutional email (may not be visible). E.g., https://sigarra.up.pt/feup/en/func_geral.formview?p_codigo=<id>. Another possible hyperlink is https://sigarra.up.pt/feup/pt/vld_entidades_geral.entidade_pagina?pct_codigo=<id>. It is commonly used for students, but I have seen it for FEUP staff as well, which then redirects to func_geral.formview. For example, thesis lists.
Add the buttons with mailto hyperlinks near the original hyperlink tag, i.e. <a>
Add an option on right-side sidebar that enables selecting multiple addresses to send the email? Useful when you want to contact more than one person. Perhaps, open a modal with all emails and enable batch selection
One step further: BCC + CC?
Cache the emails per user ID
Configurable threshold. i.e., if the page has more than E email addresses, then ignore. Might be useful in search results pages with dozens of emails. Default, 15?
Ignore hyperlinks for the logged in user?
The text was updated successfully, but these errors were encountered:
The issue #69 is related. Might be useful to create a Person parser. It should support parsing from the document or from a custom context (e.g. URL, html, DOMParser). That parser could be used in both issues (this one and #69)
One more issue to handle. looks like Sigarra server responses are encoded as text/html; charset=iso-8859-15. As the response body is interpreted as utf-8, weird stuff appears...
With respect to ignoring hyperlinks associated to the logged in user.. I thought it would be easy, but it looks like the hyperlinks used to access my profile near the login form and on the top bar use yet another ID is not the user ID (student up or staff identifiers)...
I could fetch that URL to gather the actual user ID, just not sure if it is worth it.
My main motivation for this is when having to contact more than one teacher from search results or from course unit pages. The typical approach is to open the profile in separate pages and copy the links. With batch email I could select multiple users without that manual process. Furthermore, for single recipients, I could click one button near the user name/link without having to move to a different page to get the email.
Tasks
https://sigarra.up.pt/feup/en/func_geral.formview?p_codigo=<id>
. Another possible hyperlink ishttps://sigarra.up.pt/feup/pt/vld_entidades_geral.entidade_pagina?pct_codigo=<id>
. It is commonly used for students, but I have seen it for FEUP staff as well, which then redirects tofunc_geral.formview
. For example, thesis lists.mailto
hyperlinks near the original hyperlink tag, i.e.<a>
The text was updated successfully, but these errors were encountered: