public void Initialize() { if (_metaConfig != null) { MetaDataLogic.UpdateConfiguration(_metaConfig); } }
public string SaveMetaDataConfiguration(string title, string description, string keywords, bool ignore, IDictionary extendedTags) { try { MetaDataLogic.SaveMetaDataConfiguration(title, description, keywords, ignore, extendedTags); } catch (Exception ex) { new CSException("MetaData Plugin", "Save Failed", ex).Log(); return("Save Meta Data failed"); } return(string.Empty); }
public ApiMetaData GetCurrentMetaData() { Logic.MetaData metaData; try { metaData = MetaDataLogic.GetCurrentMetaData(); if (metaData == null) { return(null); } } catch (Exception ex) { return(new ApiMetaData(new AdditionalInfo(new Error("Exception", ex.Message)))); } return(new ApiMetaData(metaData)); }
public string FormatMetaString(string rawFieldValue, string seperator, IDictionary namedParameters) { return(MetaDataLogic.FormatMetaString(rawFieldValue, seperator, namedParameters)); }
public string GetBestImageUrlForContent(Guid contentId, Guid contentTypeId) { return(MetaDataLogic.GetBestImageUrlForContent(contentId, contentTypeId)); }
public string GetBestImageUrlForCurrent() { return(MetaDataLogic.GetBestImageUrlForCurrent()); }
public string GetDynamicFormXml() { return(MetaDataLogic.GetDynamicFormXml()); }
public string[] GetAvailableExtendedMetaTags() { return(MetaDataLogic.GetAvailableExtendedMetaTags()); }