我正在尝试读几个url文件。有没有人知道如何先检查它是否能打开网址,然后再做些什么?有时我会出错(failed=“无法打开连接”)。如果它不能打开连接,我只希望它跳过。# Reading the whole data in the page tmp <- read.fwf(urlAdd,widths=c(11,4,2,4,rep(c(5,1,1,1),31)))但这个条件失败了。
我将剪切信息存储在添加到/sitecore/templates/System/Media/Unversioned/Image模板的字段中。我最初从类继承的尝试失败了--它似乎破坏了映射行为--所以我想知道是否还有其他方法可以用其他属性扩展这个类?[SitecoreType(AutoMap = true)]
public class MyImage : Glass.Mapper.Sc.Fie