从 AOL 导入联系人时出错

发布于 2024-11-28 11:35:04 字数 1003 浏览 0 评论 0原文

我正在尝试将所有 AOL 电子邮件联系人导入到我的 Web 应用程序中。为此,我正在使用

我分叉代码 时给出的 cardmagic gem将以下代码替换

AOL_NUM = "29970-343" # this seems to change each time they change the protocol

CONTACT_LIST_URL = "http://webmail.aol.com/#{AOL_NUM}/aim-2/en-us/Lite/ContactList.aspx?folder=Inbox&showUserFolders=False"

CONTACT_LIST_CSV_URL = "http://webmail.aol.com/#{AOL_NUM}/aim-2/en-us/Lite/ABExport.aspx?command=all"

AOL_NUM = "32992-111" # this seems to change each time they change the protocol

CONTACT_LIST_URL    = "http://mail.aol.com/#{AOL_NUM}/aol-6/en-us/Lite/ContactList.aspx?folder=Inbox&showUserFolders=False"

CONTACT_LIST_CSV_URL = "http://mail.aol.com/#{AOL_NUM}/aol-6/en-us/Lite/ABExport.aspx?command=all"

Still I am getting error

CSV::IllegalFormatError: CSV::IllegalFormatError

这是由于过时的 AOl_NUM 吗?或者 aol.rb 中还有更多变化吗? 谢谢。

I am trying to import all my AOL Email contacts in my web application. For that I am using cardmagic gem given at

I forked the code & replaced following code

AOL_NUM = "29970-343" # this seems to change each time they change the protocol

CONTACT_LIST_URL = "http://webmail.aol.com/#{AOL_NUM}/aim-2/en-us/Lite/ContactList.aspx?folder=Inbox&showUserFolders=False"

CONTACT_LIST_CSV_URL = "http://webmail.aol.com/#{AOL_NUM}/aim-2/en-us/Lite/ABExport.aspx?command=all"

with

AOL_NUM = "32992-111" # this seems to change each time they change the protocol

CONTACT_LIST_URL    = "http://mail.aol.com/#{AOL_NUM}/aol-6/en-us/Lite/ContactList.aspx?folder=Inbox&showUserFolders=False"

CONTACT_LIST_CSV_URL = "http://mail.aol.com/#{AOL_NUM}/aol-6/en-us/Lite/ABExport.aspx?command=all"

Still I am getting error

CSV::IllegalFormatError: CSV::IllegalFormatError

Is this due to outdated AOl_NUM? or are there any more changes in the aol.rb?
Thank you.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

同尘 2024-12-05 11:35:04

我相信它应该有效。您是否在包含 gem 后执行了更新捆绑?执行捆绑更新并重新启动服务器。

I believe it should work. Did you perform update bundle after including the gem? perform bundle update and restart your server.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文